summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/app/app_root.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2021-03-27 22:08:31 +0100
committerUros Majstorovic <majstor@majstor.org>2021-03-27 22:08:31 +0100
commitdaa87d92b3df433578e53284a8c88083e24f8623 (patch)
treebb061a88510935f7bb91139ae618caaf9b546c96 /fw/fe310/eos/app/app_root.c
parent72a82b58ba87fe9ecc2718bfcb2b5f0432ffaea9 (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.c6
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();