Merge pull request #98 from devdtc/cpp-compat

Fix initializer syntax to not throw errors in C++.
This commit is contained in:
sekigon-gonnoc 2023-10-03 23:34:01 +09:00 committed by GitHub
commit c563c5d734
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,7 @@ typedef struct {
PIO_USB_DP_PIN_DEFAULT, PIO_USB_TX_DEFAULT, PIO_SM_USB_TX_DEFAULT, \
PIO_USB_DMA_TX_DEFAULT, PIO_USB_RX_DEFAULT, PIO_SM_USB_RX_DEFAULT, \
PIO_SM_USB_EOP_DEFAULT, NULL, PIO_USB_DEBUG_PIN_NONE, \
PIO_USB_DEBUG_PIN_NONE, .skip_alarm_pool = false \
PIO_USB_DEBUG_PIN_NONE, /*skip_alarm_pool=*/false \
}
#define PIO_USB_EP_POOL_CNT 32