summaryrefslogtreecommitdiff
path: root/fw/fe310/phone/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/phone/test.c')
-rw-r--r--fw/fe310/phone/test.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/fw/fe310/phone/test.c b/fw/fe310/phone/test.c
index 72f575f..06f35c3 100644
--- a/fw/fe310/phone/test.c
+++ b/fw/fe310/phone/test.c
@@ -30,10 +30,13 @@ static int reg_write(uint8_t reg, uint8_t data) {
int test_app(EVEWindow *window, EVEViewStack *stack) {
EVEFormSpec spec[] = {
- APP_SPACERW(1,1),
+ APP_SPACERW(APP_SCREEN_W,1),
};
EVEPage *page = eve_form_create(window, stack, spec, APP_SPEC_SIZE(spec), test_uievt, test_close);
- if (page == NULL) return EVE_ERR_NOMEM;
+ if (page == NULL) {
+ APP_LOG(APP_LOG_ERR, "OUT OF MEMORY\n");
+ return EVE_ERR_NOMEM;
+ }
app_status_set_msg("TEST!");
return EVE_OK;