From c99f6657a6335b0a70fac9c6278672057e57f525 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Mon, 21 Dec 2009 07:42:43 +0000 Subject: Correct TeensyHID bootloader descriptors to use the correct revision code for the ATMEGA32U4 based Teensy revision. --- Projects/LEDNotifier/LEDNotifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Projects/LEDNotifier') 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) -- cgit v1.2.3