From 768fc9d49096aa8a8247f31ec8d5b8dd09d6b0ad Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Thu, 20 May 2021 19:18:16 +0200 Subject: camera test app --- fw/fe310/test/main.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'fw/fe310/test/main.c') diff --git a/fw/fe310/test/main.c b/fw/fe310/test/main.c index 1021507..367c3b5 100644 --- a/fw/fe310/test/main.c +++ b/fw/fe310/test/main.c @@ -23,6 +23,7 @@ #include "phone.h" #include "modem.h" #include "wifi.h" +#include "cam.h" #include "test.h" void app_home_page(EVEWindow *window, EVEViewStack *stack) { @@ -51,9 +52,21 @@ void app_home_page(EVEWindow *window, EVEViewStack *stack) { .widget.spec.page.title = "Modem", .widget.spec.page.constructor = app_modem }, + { + .widget.type = EVE_WIDGET_TYPE_PAGE, + .widget.g.w = APP_SCREEN_W, + .widget.spec.page.title = "Camera", + .widget.spec.page.constructor = app_cam + }, + { + .widget.type = EVE_WIDGET_TYPE_PAGE, + .widget.g.w = APP_SCREEN_W, + .widget.spec.page.title = "Test", + .widget.spec.page.constructor = app_test + }, }; - EVEForm *form = eve_form_create(window, stack, spec, 4, NULL, NULL, NULL); + EVEForm *form = eve_form_create(window, stack, spec, 6, NULL, NULL, NULL); } int main() { -- cgit v1.2.3