fix deadlock/race condition
[clinton/Smoothieware.git] / src / main.cpp
index e165be4..793ba71 100644 (file)
@@ -84,10 +84,6 @@ GPIO leds[5] = {
 };
 
 // debug pins, only used if defined in src/makefile
-#ifdef BLOCK_DEBUG_PIN
-GPIO block_debug_pin(BLOCK_DEBUG_PIN);
-#endif
-
 #ifdef STEPTICKER_DEBUG_PIN
 GPIO stepticker_debug_pin(STEPTICKER_DEBUG_PIN);
 #endif
@@ -100,10 +96,6 @@ void init() {
         leds[i]= 0;
     }
 
-#ifdef BLOCK_DEBUG_PIN
-    block_debug_pin.output();
-    block_debug_pin= 0;
-#endif
 #ifdef STEPTICKER_DEBUG_PIN
     stepticker_debug_pin.output();
     stepticker_debug_pin= 0;