summaryrefslogtreecommitdiff
path: root/fw/fe310/phone/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/phone/flash.c')
-rw-r--r--fw/fe310/phone/flash.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/fw/fe310/phone/flash.c b/fw/fe310/phone/flash.c
index e78576a..b0a2d6c 100644
--- a/fw/fe310/phone/flash.c
+++ b/fw/fe310/phone/flash.c
@@ -131,7 +131,10 @@ int flash_app(EVEWindow *window, EVEViewStack *stack) {
APP_SPACERW(1,1),
};
EVEPage *page = eve_form_create(window, stack, spec, APP_SPEC_SIZE(spec), flash_uievt, flash_close);
- if (page == NULL) return EVE_ERR_NOMEM;
+ if (page == NULL) {
+ APP_LOG(APP_LOG_ERR, "OUT OF MEMORY\n");
+ return EVE_ERR_NOMEM;
+ }
return EVE_OK;
}