Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
Call the callbacks when loading from SD
Browse files Browse the repository at this point in the history
  • Loading branch information
Maschell committed Feb 7, 2019
1 parent 8eaf9cc commit ad759ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/myutils/ConfigInformation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ bool ConfigInformation::loadValuesFromSD() {
if(prevValue.compare(loadedValue) != 0) {
//DEBUG_FUNCTION_LINE("Call loadValue\n");
curItem->loadValue(loadedValue);
// calling the callback here is _NOT_ needed. It will be called when the menu is closed.
curItem->callCallback();
}
}
}
Expand Down

0 comments on commit ad759ff

Please sign in to comment.