diff options
Diffstat (limited to 'apps/main_clock/main.cpp')
-rw-r--r-- | apps/main_clock/main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/main_clock/main.cpp b/apps/main_clock/main.cpp index ab9be14..9e86cba 100644 --- a/apps/main_clock/main.cpp +++ b/apps/main_clock/main.cpp @@ -35,7 +35,7 @@ void app_main_clock::date_as_str(char *buf, uint buf_size, const datetime_t *t) DATETIME_DOWS[t->dotw]); }; -BaseApp::AppReturnValues app_main_clock::render(Api *app_api) { +BaseApp::AppReturnValues app_main_clock::render(AppAPI *app_api) { char datetime_buf[256]; char *datetime_str = &datetime_buf[0]; datetime_t t; @@ -62,15 +62,15 @@ BaseApp::AppReturnValues app_main_clock::render(Api *app_api) { return AppReturnValues::OK; } -BaseApp::AppReturnValues app_main_clock::btn_pressed(Api *app_api, uint gpio, unsigned long delta) { +BaseApp::AppReturnValues app_main_clock::btn_pressed(AppAPI *app_api, uint gpio, unsigned long delta) { return AppReturnValues::OK; } -app_main_clock::app_main_clock(Api *app_api) { - app_api->performance_set(Api::perf_modes::LOW_POWER); +app_main_clock::app_main_clock(AppAPI *app_api) { + app_api->performance_set(AppAPI::perf_modes::LOW_POWER); } -BaseApp::AppReturnValues app_main_clock::bgrefresh(Api *app_api, bool in_foreground) { +BaseApp::AppReturnValues app_main_clock::bgrefresh(AppAPI *app_api, bool in_foreground) { return AppReturnValues::OK; } |