Skip to content

Commit 9c782b1

Browse files
committed
Set auto-discovery of hardware resources by default
Use the logic for hardware resources auto-discovery by default, set this to be the PIO_USB_DEFAULT_CONFIG. Signed-off-by: Tzvetomir Stoyanov <[email protected]>
1 parent 2b6e7e8 commit 9c782b1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/pio_usb_configuration.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ typedef struct {
2525
#define PIO_USB_DP_PIN_DEFAULT 0
2626
#endif
2727

28-
#define PIO_USB_TX_DEFAULT 0
29-
#define PIO_SM_USB_TX_DEFAULT 0
30-
#define PIO_USB_DMA_TX_DEFAULT 0
28+
#define PIO_USB_TX_DEFAULT (-1)
29+
#define PIO_SM_USB_TX_DEFAULT (-1)
30+
#define PIO_USB_DMA_TX_DEFAULT (-1)
3131

32-
#define PIO_USB_RX_DEFAULT 1
33-
#define PIO_SM_USB_RX_DEFAULT 0
34-
#define PIO_SM_USB_EOP_DEFAULT 1
32+
#define PIO_USB_RX_DEFAULT (-1)
33+
#define PIO_SM_USB_RX_DEFAULT (-1)
34+
#define PIO_SM_USB_EOP_DEFAULT (-1)
3535

3636
#define PIO_USB_DEBUG_PIN_NONE (-1)
3737

0 commit comments

Comments
 (0)