aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/LEDNotifier
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-12-21 07:42:43 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-12-21 07:42:43 +0000
commitc99f6657a6335b0a70fac9c6278672057e57f525 (patch)
tree91b28f26b3268708bc916a05372326e5e51e88ac /Projects/LEDNotifier
parent37c9ba7fa980472406625973f0ee32719b5a8997 (diff)
downloadlufa-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.
Diffstat (limited to 'Projects/LEDNotifier')
-rw-r--r--Projects/LEDNotifier/LEDNotifier.c2
1 files changed, 1 insertions, 1 deletions
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)