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

@ -175,10 +175,6 @@ uint16_t max_display_update_time = 0;
#define TALL_FONT_CORRECTION 0
#endif
#if HAS_POWER_SWITCH
extern bool powersupply_on;
#endif
bool no_reentry = false;
constexpr int8_t menu_bottom = LCD_HEIGHT - (TALL_FONT_CORRECTION);