X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fstmf0%2Fao_usb_stm.c;fp=src%2Fstmf0%2Fao_usb_stm.c;h=b736d389c95002e0eae33bcf40028b8d557909b5;hp=ff294849d73534c6c9037f2da842bdbf6b0eb090;hb=c11427819ca24bb77523496309b5b6f699d126c5;hpb=119a829e58aff5dd7801fe7ef8cae886bf31fec1 diff --git a/src/stmf0/ao_usb_stm.c b/src/stmf0/ao_usb_stm.c index ff294849..b736d389 100644 --- a/src/stmf0/ao_usb_stm.c +++ b/src/stmf0/ao_usb_stm.c @@ -245,7 +245,7 @@ static inline uint32_t ao_usb_epr_sw_buf_rx(uint32_t epr) { * Set current device address and mark the * interface as active */ -void +static void ao_usb_set_address(uint8_t address) { debug("ao_usb_set_address %02x\n", address); @@ -957,7 +957,7 @@ ao_usb_ep0_handle(uint8_t receive) } #if AO_POWER_MANAGEMENT -void +static void ao_usb_suspend(void) { stm_usb.cntr |= (1 << STM_USB_CNTR_FSUSP); @@ -966,7 +966,7 @@ ao_usb_suspend(void) ao_clock_suspend(); } -void +static void ao_usb_wakeup(void) { ao_clock_resume(); @@ -1371,7 +1371,7 @@ _ao_usb_out_recv(void) _rx_dbg1("out_recv count", ao_usb_rx_count); } -int +static int _ao_usb_pollchar(void) { uint8_t c;