summaryrefslogtreecommitdiff
path: root/fw/fe310/test/phone.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2022-08-09 23:07:38 +0200
committerUros Majstorovic <majstor@majstor.org>2022-08-09 23:07:38 +0200
commitb45c75151af9e31c2016fa30dc071f9695d6369c (patch)
tree590651bd3c37d0cb74a7414637b370d286368ff0 /fw/fe310/test/phone.c
parent76ed6228dc0b88840d01f99761ca09323bf11c51 (diff)
fixed test
Diffstat (limited to 'fw/fe310/test/phone.c')
-rw-r--r--fw/fe310/test/phone.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/fw/fe310/test/phone.c b/fw/fe310/test/phone.c
index 0027d77..cc70549 100644
--- a/fw/fe310/test/phone.c
+++ b/fw/fe310/test/phone.c
@@ -4,9 +4,9 @@
#include <string.h>
#include <eos.h>
-#include <i2s.h>
-#include <net.h>
-#include <cell.h>
+#include <soc/i2s.h>
+#include <dev/net.h>
+#include <net/cell.h>
#include <eve/eve.h>
#include <eve/eve_kbd.h>
@@ -16,8 +16,6 @@
#include <eve/screen/page.h>
#include <eve/screen/form.h>
-#include <eve/widget/widgets.h>
-
#include "app/app_root.h"
#include "app/app_status.h"
@@ -85,12 +83,12 @@ static void cell_voice_handler(unsigned char type, unsigned char *buffer, uint16
}
void app_phone(EVEWindow *window, EVEViewStack *stack) {
- EVEWidgetSpec spec[] = {
+ EVEFormSpec spec[] = {
{
.label.title = "Phone:",
.widget.type = EVE_WIDGET_TYPE_STR,
- .widget.spec.str.str_size = 128,
+ .widget.tspec.str.str_size = 128,
},
};