summaryrefslogtreecommitdiff
path: root/fw/fe310/test/wifi.c
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/test/wifi.c')
-rw-r--r--fw/fe310/test/wifi.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fw/fe310/test/wifi.c b/fw/fe310/test/wifi.c
index 86f6b62..5306d37 100644
--- a/fw/fe310/test/wifi.c
+++ b/fw/fe310/test/wifi.c
@@ -68,9 +68,7 @@ void wifi_scan_handler(unsigned char type, unsigned char *buffer, uint16_t size)
eve_selectw_option_set(select, buffer + 1, size - 1);
eos_net_free(buffer, 0);
- eos_spi_dev_start(EOS_DEV_DISP);
- eve_screen_draw(app_screen());
- eos_spi_dev_stop();
+ app_screen_refresh();
}
static void wifi_connect_handler(unsigned char type, unsigned char *buffer, uint16_t size) {