summaryrefslogtreecommitdiff
path: root/fw/fe310/phone/phone.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2022-09-23 20:08:02 +0200
committerUros Majstorovic <majstor@majstor.org>2022-09-23 20:08:02 +0200
commit69ed847740e3efb5c5ff6319629c93d236150959 (patch)
treea479305afd898870f2ac0e55fe04be788e768fca /fw/fe310/phone/phone.c
parent38e19a65fda7a37688320b4b732eb1113bbcbad7 (diff)
i2s driver fixed; added uart programming;
Diffstat (limited to 'fw/fe310/phone/phone.c')
-rw-r--r--fw/fe310/phone/phone.c2
1 files changed, 0 insertions, 2 deletions
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: {