From e9dadacf7ba0af0c6c62ffee44328cbf142e682d Mon Sep 17 00:00:00 2001 From: Luu Lac <45380455+shitcreek@users.noreply.github.com> Date: Sun, 15 Dec 2019 11:16:36 -0600 Subject: [PATCH] Fix bad #ifdef (#16227) --- Marlin/src/gcode/feature/camera/M240.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/gcode/feature/camera/M240.cpp b/Marlin/src/gcode/feature/camera/M240.cpp index 50b47f397..ac6729053 100644 --- a/Marlin/src/gcode/feature/camera/M240.cpp +++ b/Marlin/src/gcode/feature/camera/M240.cpp @@ -31,7 +31,7 @@ millis_t chdk_timeout; // = 0 #endif -#ifdef PHOTO_POSITION && PHOTO_DELAY_MS > 0 +#if defined(PHOTO_POSITION) && PHOTO_DELAY_MS > 0 #include "../../../Marlin.h" // for idle() #endif