Update powersupply_on in power_on/off (#10015)

Fix #10004
This commit is contained in:
Scott Lahteine
2018-03-08 18:56:47 -06:00
committed by GitHub
parent 42608b1925
commit 3c2bfa5e53
5 changed files with 16 additions and 19 deletions

View File

@ -86,8 +86,6 @@
tmc2208_init();
#endif
powersupply_on = true;
#if ENABLED(ULTIPANEL)
LCD_MESSAGEPGM(WELCOME_MSG);
#endif
@ -119,7 +117,6 @@ void GcodeSuite::M81() {
suicide();
#elif HAS_POWER_SWITCH
PSU_OFF();
powersupply_on = false;
#endif
#if ENABLED(ULTIPANEL)