X-Git-Url: https://git.cryptolib.org/?p=labortage2013badge.git;a=blobdiff_plain;f=firmware%2Fusbconfig.h;fp=firmware%2Fusbconfig.h;h=58578615233ab1c3d55df6943cf1b3bf28ba136d;hp=8250251312c2c29910baeb09a4b0ada3014b4422;hb=64f486437e6ca9d28bda4559dc322d34ea217210;hpb=a971d272c572905df24bf4820fa09bf4838537e5 diff --git a/firmware/usbconfig.h b/firmware/usbconfig.h index 8250251..5857861 100644 --- a/firmware/usbconfig.h +++ b/firmware/usbconfig.h @@ -33,11 +33,17 @@ 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. */ +#if 1 #define USB_CFG_DMINUS_BIT 0 /* 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 2 +#else +# define USB_CFG_DMINUS_BIT 3 +# define USB_CFG_DPLUS_BIT 4 +#endif + /* 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