diff options
Diffstat (limited to 'fw/fe310/eos/eve/screen')
-rw-r--r-- | fw/fe310/eos/eve/screen/page.c | 1 | ||||
-rw-r--r-- | fw/fe310/eos/eve/screen/window.c | 10 |
2 files changed, 7 insertions, 4 deletions
diff --git a/fw/fe310/eos/eve/screen/page.c b/fw/fe310/eos/eve/screen/page.c index 61af288..65dd534 100644 --- a/fw/fe310/eos/eve/screen/page.c +++ b/fw/fe310/eos/eve/screen/page.c @@ -307,7 +307,6 @@ uint8_t eve_page_draw(EVEView *view, uint8_t tag0) { } widget = eve_widget_next(widget); } - eve_cmd_dl(RESTORE_CONTEXT()); for (i=tag0; i<tagN; i++) { diff --git a/fw/fe310/eos/eve/screen/window.c b/fw/fe310/eos/eve/screen/window.c index 63a59a9..d4b15f0 100644 --- a/fw/fe310/eos/eve/screen/window.c +++ b/fw/fe310/eos/eve/screen/window.c @@ -214,19 +214,23 @@ int eve_window_touch(EVEWindow *window, EVETouch *touch, uint16_t evt, uint8_t t return 0; } +#include <stdio.h> + void eve_window_root_draw(EVEWindowRoot *root) { uint8_t tag0 = 0x80; + int rv; eve_cmd_burst_start(); - eve_cmd_dl(CMD_DLSTART); + eve_cmd_dl(CMD_DLSTART); if (root->tag0 != EVE_NOTAG) tag0 = EVE_NOTAG; eve_window_draw(&root->w, tag0); eve_cmd_dl(DISPLAY()); - eve_cmd_dl(CMD_SWAP); + eve_cmd_dl(CMD_SWAP); eve_cmd_burst_end(); - eve_cmd_exec(1); + rv = eve_cmd_exec(1); + if (rv) printf("EVE EXEC ERR\n"); } void eve_window_root_touch(EVETouch *touch, uint16_t evt, uint8_t tag0, void *win) { |