|
@@ -383,11 +383,11 @@ void displayInit(void) {
|
|
|
if (!tmp || tmp >= lang_last)
|
|
|
tmp = DEFAULT_LANG;
|
|
|
displaySetLang((display_lang_t) tmp);
|
|
|
- event_subscribe("statechange", &displayStateUpdated);
|
|
|
- event_subscribe("modechange", &displayModeUpdated);
|
|
|
- event_subscribe("pagechange", &displayPageUpdated);
|
|
|
- event_subscribe("terminate", &displayTerminate);
|
|
|
- event_subscribe("descaling", &displayDescaling);
|
|
|
+ event_subscribe("statechange", &displayStateUpdated, "display.cpp");
|
|
|
+ event_subscribe("modechange", &displayModeUpdated, "display.cpp");
|
|
|
+ event_subscribe("pagechange", &displayPageUpdated, "display.cpp");
|
|
|
+ event_subscribe("terminate", &displayTerminate, "display.cpp");
|
|
|
+ event_subscribe("descaling", &displayDescaling, "display.cpp");
|
|
|
|
|
|
logger(V_BASIC, "display2.cpp Initialized display with a refresh rate of %d Hz\n",
|
|
|
refresh_std);
|