Skip to content

Commit e7d9db2

Browse files
committed
Followup to M240 patch
1 parent 7c60853 commit e7d9db2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Marlin/src/gcode/feature/camera/M240.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@
3131
millis_t chdk_timeout; // = 0
3232
#endif
3333

34+
#ifdef PHOTO_POSITION && PHOTO_DELAY_MS > 0
35+
#include "../../../Marlin.h" // for idle()
36+
#endif
37+
3438
#ifdef PHOTO_RETRACT_MM
3539

3640
#define _PHOTO_RETRACT_MM (PHOTO_RETRACT_MM + 0)

0 commit comments

Comments
 (0)