summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/app/app_root.c
diff options
context:
space:
mode:
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();