Browse Source

Fix bad #ifdef (#16227)

Luu Lac 4 years ago
parent
commit
e9dadacf7b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/gcode/feature/camera/M240.cpp

+ 1
- 1
Marlin/src/gcode/feature/camera/M240.cpp View File

@@ -31,7 +31,7 @@
31 31
   millis_t chdk_timeout; // = 0
32 32
 #endif
33 33
 
34
-#ifdef PHOTO_POSITION && PHOTO_DELAY_MS > 0
34
+#if defined(PHOTO_POSITION) && PHOTO_DELAY_MS > 0
35 35
   #include "../../../Marlin.h" // for idle()
36 36
 #endif
37 37
 

Loading…
Cancel
Save