Skip to content

Commit

Permalink
move ParamInit to onSettingsLoaded
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Feb 19, 2023
1 parent 51fc445 commit 5bda1c5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Marlin/src/lcd/extui/anycubic_dgus/anycubic_extui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ namespace ExtUI {

void onStartup() { Dgus.Startup(); }

void onParamInit() { Dgus.ParamInit(); }

void onIdle() { Dgus.IdleLoop(); }

void onPrinterKilled(FSTR_P const error, FSTR_P const component) {
Expand Down Expand Up @@ -105,6 +103,7 @@ namespace ExtUI {
void onSettingsLoaded(bool success) {
// Called after the entire EEPROM has been read,
// whether successful or not.
Dgus.ParamInit();
}

#if HAS_MESH
Expand Down

0 comments on commit 5bda1c5

Please sign in to comment.