diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-12-21 07:42:43 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-12-21 07:42:43 +0000 |
commit | c99f6657a6335b0a70fac9c6278672057e57f525 (patch) | |
tree | 91b28f26b3268708bc916a05372326e5e51e88ac | |
parent | 37c9ba7fa980472406625973f0ee32719b5a8997 (diff) | |
download | lufa-c99f6657a6335b0a70fac9c6278672057e57f525.tar.gz lufa-c99f6657a6335b0a70fac9c6278672057e57f525.tar.bz2 lufa-c99f6657a6335b0a70fac9c6278672057e57f525.zip |
Correct TeensyHID bootloader descriptors to use the correct revision code for the ATMEGA32U4 based Teensy revision.
-rw-r--r-- | Bootloaders/TeensyHID/Descriptors.c | 2 | ||||
-rw-r--r-- | Projects/LEDNotifier/LEDNotifier.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Bootloaders/TeensyHID/Descriptors.c b/Bootloaders/TeensyHID/Descriptors.c index 14f0500e5..098de0df8 100644 --- a/Bootloaders/TeensyHID/Descriptors.c +++ b/Bootloaders/TeensyHID/Descriptors.c @@ -75,7 +75,7 @@ USB_Descriptor_Device_t DeviceDescriptor = .VendorID = 0x16C0,
.ProductID = 0x0478,
- .ReleaseNumber = 0x0010,
+ .ReleaseNumber = 0x0120,
.ManufacturerStrIndex = NO_DESCRIPTOR,
.ProductStrIndex = 0x01,
diff --git a/Projects/LEDNotifier/LEDNotifier.c b/Projects/LEDNotifier/LEDNotifier.c index c44ca58da..1a8761653 100644 --- a/Projects/LEDNotifier/LEDNotifier.c +++ b/Projects/LEDNotifier/LEDNotifier.c @@ -78,7 +78,7 @@ ISR(TIMER0_COMPA_vect, ISR_BLOCK) {
uint8_t LEDMask = LEDS_ALL_LEDS;
- if (++SoftPWM_Count == 0x1F)
+ if (++SoftPWM_Count == 0b00011111)
SoftPWM_Count = 0;
if (SoftPWM_Count >= SoftPWM_Channel1_Duty)
|