diff options
Diffstat (limited to 'src/stm')
| -rw-r--r-- | src/stm/ao_i2c_stm.c | 4 | ||||
| -rw-r--r-- | src/stm/ao_interrupt.c | 4 | ||||
| -rw-r--r-- | src/stm/ao_serial_stm.c | 2 | ||||
| -rw-r--r-- | src/stm/ao_usb_stm.c | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/src/stm/ao_i2c_stm.c b/src/stm/ao_i2c_stm.c index c02bc5a5..8f549318 100644 --- a/src/stm/ao_i2c_stm.c +++ b/src/stm/ao_i2c_stm.c @@ -278,7 +278,7 @@ ao_i2c_send(void *block, uint16_t len, uint8_t index, uint8_t stop) return true; } -void +static void ao_i2c_recv_dma_isr(int index) { int i; @@ -374,7 +374,7 @@ ao_i2c_recv(void *block, uint16_t len, uint8_t index, uint8_t stop) return ret; } -void +static void ao_i2c_channel_init(uint8_t index) { struct stm_i2c *stm_i2c = ao_i2c_stm_info[index].stm_i2c; diff --git a/src/stm/ao_interrupt.c b/src/stm/ao_interrupt.c index d8be3667..a98d799a 100644 --- a/src/stm/ao_interrupt.c +++ b/src/stm/ao_interrupt.c @@ -29,12 +29,12 @@ extern char __bss_start__, __bss_end__; /* Interrupt functions */ -void stm_halt_isr(void) +static void stm_halt_isr(void) { ao_panic(AO_PANIC_CRASH); } -void stm_ignore_isr(void) +static void stm_ignore_isr(void) { } diff --git a/src/stm/ao_serial_stm.c b/src/stm/ao_serial_stm.c index c1a2f1bd..7a552e5d 100644 --- a/src/stm/ao_serial_stm.c +++ b/src/stm/ao_serial_stm.c @@ -339,7 +339,7 @@ ao_serial2_set_speed(uint8_t speed) } #if HAS_SERIAL_SW_FLOW -void +static void ao_serial2_cts(void) { _ao_usart_cts(&ao_stm_usart2); diff --git a/src/stm/ao_usb_stm.c b/src/stm/ao_usb_stm.c index d7cbd5b7..7f81e20e 100644 --- a/src/stm/ao_usb_stm.c +++ b/src/stm/ao_usb_stm.c @@ -829,7 +829,7 @@ stm_usb_lp_isr(void) } void -stm_usb_fs_wkup(void) +stm_usb_fs_wkup_isr(void) { /* USB wakeup, just clear the bit for now */ stm_usb.istr &= ~(1 << STM_USB_ISTR_WKUP); @@ -932,7 +932,7 @@ _ao_usb_out_recv(void) _ao_usb_set_stat_rx(AO_USB_OUT_EPR, STM_USB_EPR_STAT_RX_VALID); } -int +static int _ao_usb_pollchar(void) { uint8_t c; |
