From 0e0f665e1a24924d51e7001319adc2957163ef3d Mon Sep 17 00:00:00 2001 From: todd-herbert Date: Mon, 29 May 2023 23:43:07 +1200 Subject: [PATCH] bugfix: unswap pins in usbconfig.h --- src/usbconfig.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/usbconfig.h b/src/usbconfig.h index 6659900..6ca767b 100644 --- a/src/usbconfig.h +++ b/src/usbconfig.h @@ -30,11 +30,11 @@ section at the end of this file). /* This is the port where the USB bus is connected. When you configure it to * "B", the registers PORTB, PINB and DDRB will be used. */ -#define USB_CFG_DMINUS_BIT 2 +#define USB_CFG_DMINUS_BIT 7 /* This is the bit number in USB_CFG_IOPORT where the USB D- line is connected. * This may be any bit in the port. */ -#define USB_CFG_DPLUS_BIT 7 +#define USB_CFG_DPLUS_BIT 2 /* This is the bit number in USB_CFG_IOPORT where the USB D+ line is connected. * This may be any bit in the port. Please note that D+ must also be connected * to interrupt pin INT0! [You can also use other interrupts, see section