From daa87d92b3df433578e53284a8c88083e24f8623 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sat, 27 Mar 2021 22:08:31 +0100 Subject: form/app cleanup; scroll infrastructure --- fw/fe310/test/phone.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'fw/fe310/test/phone.c') diff --git a/fw/fe310/test/phone.c b/fw/fe310/test/phone.c index de5ed1e..0bf1c04 100644 --- a/fw/fe310/test/phone.c +++ b/fw/fe310/test/phone.c @@ -21,7 +21,6 @@ #include #include -#include #include "status.h" #include "phone.h" @@ -93,12 +92,12 @@ void app_phone(EVEWindow *window, EVEViewStack *stack) { }, }; - EVEForm *form = app_form_create(window, stack, spec, 1, app_phone_action, NULL); + EVEForm *form = eve_form_create(window, stack, spec, 1, app_phone_action, NULL); } void app_phone_action(EVEForm *form) { char msg[128]; - EVEStrWidget *w = (EVEStrWidget *)eve_form_widget(form, 0); + EVEStrWidget *w = (EVEStrWidget *)eve_page_widget(&form->p, 0); unsigned char *buf = eos_net_alloc(); buf[0] = EOS_CELL_MTYPE_VOICE | EOS_CELL_MTYPE_VOICE_DIAL; -- cgit v1.2.3