diff options
author | Uros Majstorovic <majstor@majstor.org> | 2021-03-27 22:08:31 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2021-03-27 22:08:31 +0100 |
commit | daa87d92b3df433578e53284a8c88083e24f8623 (patch) | |
tree | bb061a88510935f7bb91139ae618caaf9b546c96 /fw/fe310/eos/app/app_root.c | |
parent | 72a82b58ba87fe9ecc2718bfcb2b5f0432ffaea9 (diff) |
form/app cleanup; scroll infrastructure
Diffstat (limited to 'fw/fe310/eos/app/app_root.c')
-rw-r--r-- | fw/fe310/eos/app/app_root.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fw/fe310/eos/app/app_root.c b/fw/fe310/eos/app/app_root.c index 7a6f5c3..1b46ea8 100644 --- a/fw/fe310/eos/app/app_root.c +++ b/fw/fe310/eos/app/app_root.c @@ -29,8 +29,8 @@ static EVEWindow win_main; static EVEView view_status; static EVEViewStack view_stack; -EVEWindow *app_root(void) { - return (EVEWindow *)&win_root; +EVEWindowRoot *app_root(void) { + return &win_root; } void app_root_refresh(void) { @@ -80,7 +80,7 @@ void app_root_init(eve_view_constructor_t home_page) { eve_window_append(&win_status); eve_window_append(&win_main); - eve_window_root_draw((EVEWindow *)&win_root); + eve_window_root_draw(&win_root); eve_spi_stop(); |