diff options
| author | Ha Thach <[email protected]> | 2024-11-27 18:28:12 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-11-27 18:28:12 +0700 |
| commit | dbc2c8d9720593ce4b0bbd0c96b3b91f81ce15bb (patch) | |
| tree | 628fefa4b1ef471c7cbf109c3dca62563729259f /src/portable/microchip/samd | |
| parent | 2732aff7dd328a9f86c990afd7a71df48ae47391 (diff) | |
Fix missing protoype warning, change TUD_EPBUF_TYPE_DEF order (#2889)
* change TUD_EPBUF_TYPE_DEF order
* add and fix -Wmissing-prototypes warnings for cmake (skip make)
Diffstat (limited to 'src/portable/microchip/samd')
| -rw-r--r-- | src/portable/microchip/samd/dcd_samd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/microchip/samd/dcd_samd.c b/src/portable/microchip/samd/dcd_samd.c index 0c96f6ac4..357aa1549 100644 --- a/src/portable/microchip/samd/dcd_samd.c +++ b/src/portable/microchip/samd/dcd_samd.c @@ -335,7 +335,7 @@ void dcd_edpt_clear_stall (uint8_t rhport, uint8_t ep_addr) //--------------------------------------------------------------------+ // Interrupt Handler //--------------------------------------------------------------------+ -void maybe_transfer_complete(void) { +static void maybe_transfer_complete(void) { uint32_t epints = USB->DEVICE.EPINTSMRY.reg; for (uint8_t epnum = 0; epnum < USB_EPT_NUM; epnum++) { |
