️ Refactor still needs work

Reverting #23295
This commit is contained in:
Scott Lahteine
2021-12-25 23:15:17 -06:00
parent 00e6e90648
commit 6a8b9274a3
69 changed files with 1301 additions and 1771 deletions

View File

@@ -282,9 +282,9 @@ void MarlinUI::init_lcd() {
#if PIN_EXISTS(LCD_RESET)
// Perform a clean hardware reset with needed delays
OUT_WRITE(LCD_RESET_PIN, LOW);
hal.delay_ms(5);
_delay_ms(5);
WRITE(LCD_RESET_PIN, HIGH);
hal.delay_ms(5);
_delay_ms(5);
u8g.begin();
#endif

View File

@@ -2149,7 +2149,7 @@ void RebootPrinter() {
thermalManager.disable_all_heaters();
planner.finish_and_disable();
DWIN_RebootScreen();
hal.reboot();
HAL_reboot();
}
void Goto_InfoMenu(){