Kaynağa Gözat

Fix DEBUG_BUILD

Alex Voinea 5 yıl önce
ebeveyn
işleme
988ba6d8b0
1 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  1. 3 1
      Firmware/Dcodes.cpp

+ 3 - 1
Firmware/Dcodes.cpp

@@ -1,5 +1,6 @@
 #include "Dcodes.h"
 //#include "Marlin.h"
+#include "configuration.h"
 #include "language.h"
 #include "cmdqueue.h"
 #include <stdio.h>
@@ -185,7 +186,6 @@ void dcode_3()
 #define BOOT_APP_FLG_COPY  0x02
 #define BOOT_APP_FLG_FLASH 0x04
 
-extern uint8_t fsensor_log;
 extern float current_temperature_pinda;
 extern float axis_steps_per_unit[NUM_AXIS];
 
@@ -194,6 +194,8 @@ extern float axis_steps_per_unit[NUM_AXIS];
 #endif //0
 #define LOG(args...)
 
+extern uint8_t fsensor_log;
+
     /*!
     *
     ### D-1 - Endless Loop <a href="https://reprap.org/wiki/G-code#G28:_Move_to_Origin_.28Home.29">D-1: Endless Loop</a>