From 4dc0f93b6d9c1d0cdcf60bcd589d7d61463531cf Mon Sep 17 00:00:00 2001 From: sekigon-gonnoc <43873124+sekigon-gonnoc@users.noreply.github.com> Date: Wed, 4 Oct 2023 21:54:11 +0900 Subject: [PATCH] Update default config --- src/pio_usb_configuration.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/pio_usb_configuration.h b/src/pio_usb_configuration.h index a67f2c9..20f3439 100644 --- a/src/pio_usb_configuration.h +++ b/src/pio_usb_configuration.h @@ -25,8 +25,6 @@ typedef struct { #define PIO_USB_DP_PIN_DEFAULT 0 #endif -#define PIO_USB_DM_PIN_DEFAULT (PIO_USB_DP_PIN_DEFAULT + 1) - #define PIO_USB_TX_DEFAULT 0 #define PIO_SM_USB_TX_DEFAULT 0 #define PIO_USB_DMA_TX_DEFAULT 0 @@ -37,12 +35,12 @@ typedef struct { #define PIO_USB_DEBUG_PIN_NONE (-1) -#define PIO_USB_DEFAULT_CONFIG \ - { \ - 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 \ +#define PIO_USB_DEFAULT_CONFIG \ + { \ + 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, false, PIO_USB_PINOUT_DPDM \ } #define PIO_USB_EP_POOL_CNT 32