mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
dcd: same70: fix unused variable warning
Signed-off-by: Rafael Silva <perigoso@riseup.net>
This commit is contained in:
parent
9a03ab9dfa
commit
bcd3e31bd6
@ -134,6 +134,7 @@ void dcd_int_disable (uint8_t rhport)
|
||||
// Receive Set Address request, mcu port must also include status IN response
|
||||
void dcd_set_address (uint8_t rhport, uint8_t dev_addr)
|
||||
{
|
||||
(void) dev_addr;
|
||||
// DCD can only set address after status for this request is complete
|
||||
// do it at dcd_edpt0_status_complete()
|
||||
|
||||
@ -151,6 +152,7 @@ void dcd_remote_wakeup (uint8_t rhport)
|
||||
// Connect by enabling internal pull-up resistor on D+/D-
|
||||
void dcd_connect(uint8_t rhport)
|
||||
{
|
||||
(void) rhport;
|
||||
uint32_t irq_state = __get_PRIMASK();
|
||||
__disable_irq();
|
||||
// Enable USB clock
|
||||
|
Loading…
x
Reference in New Issue
Block a user