diff options
Diffstat (limited to 'fw/fe310/test/status.c')
-rw-r--r-- | fw/fe310/test/status.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/fw/fe310/test/status.c b/fw/fe310/test/status.c index 489bf78..2f44842 100644 --- a/fw/fe310/test/status.c +++ b/fw/fe310/test/status.c @@ -78,11 +78,7 @@ static uint8_t status_draw(EVEView *v, uint8_t tag0) { void app_status_msg_set(char *msg, int refresh) { strcpy(status_msg, msg); - if (refresh) { - eos_spi_dev_start(EOS_DEV_DISP); - eve_screen_draw(app_screen()); - eos_spi_dev_stop(); - } + if (refresh) app_screen_refresh(); } void app_status_init(void) { |