diff options
author | Uros Majstorovic <majstor@majstor.org> | 2022-08-09 23:07:38 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2022-08-09 23:07:38 +0200 |
commit | b45c75151af9e31c2016fa30dc071f9695d6369c (patch) | |
tree | 590651bd3c37d0cb74a7414637b370d286368ff0 /fw/fe310/test/cell_pdp.c | |
parent | 76ed6228dc0b88840d01f99761ca09323bf11c51 (diff) |
fixed test
Diffstat (limited to 'fw/fe310/test/cell_pdp.c')
-rw-r--r-- | fw/fe310/test/cell_pdp.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/fw/fe310/test/cell_pdp.c b/fw/fe310/test/cell_pdp.c index 724cca7..e67ddb2 100644 --- a/fw/fe310/test/cell_pdp.c +++ b/fw/fe310/test/cell_pdp.c @@ -4,8 +4,8 @@ #include <string.h> #include <eos.h> -#include <net.h> -#include <cell.h> +#include <dev/net.h> +#include <net/cell.h> #include <eve/eve.h> #include <eve/eve_kbd.h> @@ -15,8 +15,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" @@ -63,27 +61,27 @@ static void cell_pdp_handler(unsigned char type, unsigned char *buffer, uint16_t } void app_cell_pdp(EVEWindow *window, EVEViewStack *stack) { - EVEWidgetSpec spec[] = { + EVEFormSpec spec[] = { { .label.g.w = APP_SCREEN_W / 3, .label.title = "APN:", .widget.type = EVE_WIDGET_TYPE_STR, - .widget.spec.str.str_size = 128, + .widget.tspec.str.str_size = 128, }, { .label.g.w = APP_SCREEN_W / 3, .label.title = "User:", .widget.type = EVE_WIDGET_TYPE_STR, - .widget.spec.str.str_size = 128, + .widget.tspec.str.str_size = 128, }, { .label.g.w = APP_SCREEN_W / 3, .label.title = "Pass:", .widget.type = EVE_WIDGET_TYPE_STR, - .widget.spec.str.str_size = 128, + .widget.tspec.str.str_size = 128, }, }; |