浏览代码

Fix bad #ifdef (#16227)

Luu Lac 4 年前
父节点
当前提交
e9dadacf7b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      Marlin/src/gcode/feature/camera/M240.cpp

+ 1
- 1
Marlin/src/gcode/feature/camera/M240.cpp 查看文件

@@ -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
 

正在加载...
取消
保存