From a5a94dea7043fa6b65693cf0cc11d426d49c637d Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Mon, 24 Oct 2022 19:57:30 +0200 Subject: added SMS app; fixed phone app --- fw/fe310/phone/main.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'fw/fe310/phone/main.c') diff --git a/fw/fe310/phone/main.c b/fw/fe310/phone/main.c index 8696ebe..fd4d672 100644 --- a/fw/fe310/phone/main.c +++ b/fw/fe310/phone/main.c @@ -25,6 +25,7 @@ #include "wifi.h" #include "cell.h" +#include "sms.h" #include "phone.h" #include "modem.h" #include "timer.h" @@ -47,6 +48,12 @@ static int home_page(EVEWindow *window, EVEViewStack *stack) { .widget.tspec.page.title = "Modem", .widget.tspec.page.constructor = modem_app, }, + { + .widget.type = EVE_WIDGET_TYPE_PAGE, + .widget.g.w = APP_SCREEN_W, + .widget.tspec.page.title = "SMS", + .widget.tspec.page.constructor = sms_app, + }, { .widget.type = EVE_WIDGET_TYPE_PAGE, .widget.g.w = APP_SCREEN_W, @@ -99,6 +106,7 @@ int main() { wifi_init(); cell_init(); + sms_init(); phone_init(); app_init(home_page, 0x20); -- cgit v1.2.3