summaryrefslogtreecommitdiff
path: root/fw/fe310/test/main.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2021-05-20 19:18:16 +0200
committerUros Majstorovic <majstor@majstor.org>2021-05-20 19:18:16 +0200
commit768fc9d49096aa8a8247f31ec8d5b8dd09d6b0ad (patch)
tree6c0a6b36cc975bd55047eeac8aec5f04647dd336 /fw/fe310/test/main.c
parent42d5c7be2c6bea5c03f55f43ad34b4bc28d50bcc (diff)
camera test app
Diffstat (limited to 'fw/fe310/test/main.c')
-rw-r--r--fw/fe310/test/main.c15
1 files changed, 14 insertions, 1 deletions
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() {