Explorar o código

Remove unnecessary delay in lcd_selftest, which occured there as a result of merge.

DRracer %!s(int64=5) %!d(string=hai) anos
pai
achega
3e70b73a1f
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  1. 1 4
      Firmware/ultralcd.cpp

+ 1 - 4
Firmware/ultralcd.cpp

@@ -7547,13 +7547,10 @@ bool lcd_selftest()
 	#ifdef TMC2130
 	  FORCE_HIGH_POWER_START;
 	#endif // TMC2130
+	FORCE_BL_ON_START;
 #if !IR_SENSOR_ANALOG
      _delay(2000);
 #endif //!IR_SENSOR_ANALOG
-    
-    FORCE_BL_ON_START;
-    
-	_delay(2000);
 	KEEPALIVE_STATE(IN_HANDLER);
 #if IR_SENSOR_ANALOG
      bool bAction;