From 69ed847740e3efb5c5ff6319629c93d236150959 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Fri, 23 Sep 2022 20:08:02 +0200 Subject: i2s driver fixed; added uart programming; --- fw/fe310/phone/phone.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'fw/fe310/phone/phone.c') diff --git a/fw/fe310/phone/phone.c b/fw/fe310/phone/phone.c index 53d36ae..a8d5a86 100644 --- a/fw/fe310/phone/phone.c +++ b/fw/fe310/phone/phone.c @@ -29,7 +29,6 @@ static uint8_t spk_arr[ABUF_SIZE]; static unsigned char phone_state = 0; -__attribute__ ((section (".itim"))) static void handle_mic(unsigned char type) { uint16_t offset, size; unsigned char *buf; @@ -39,7 +38,6 @@ static void handle_mic(unsigned char type) { eos_cell_send_buffer(buf, size, offset, 0); } -__attribute__ ((section (".itim"))) static void handle_cell_voice(unsigned char type, unsigned char *buffer, uint16_t len) { switch (type) { case EOS_CELL_MTYPE_VOICE_RING: { -- cgit v1.2.3