diff options
Diffstat (limited to 'fw/fe310/test/modem.c')
-rw-r--r-- | fw/fe310/test/modem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fw/fe310/test/modem.c b/fw/fe310/test/modem.c index 6453b24..2a2ee7c 100644 --- a/fw/fe310/test/modem.c +++ b/fw/fe310/test/modem.c @@ -89,7 +89,7 @@ static void handle_cell_msg(unsigned char type, unsigned char *buffer, uint16_t EVEText *text = ¶m->text; int i; - eos_spi_dev_start(EOS_DEV_DISP); + eve_spi_start(); for (i=1; i<len; i++) { if (buffer[i] != '\r') eve_text_putc(text, buffer[i]); } @@ -97,7 +97,7 @@ static void handle_cell_msg(unsigned char type, unsigned char *buffer, uint16_t text->dirty = 0; eve_screen_draw(window->screen); } - eos_spi_dev_stop(); + eve_spi_stop(); eos_net_free(buffer, 0); } else { param->cell_dev_handler(type, buffer, len); |