Correct TeensyHID bootloader descriptors to use the correct revision code for the ATMEGA32U4 based Teensy revision.

This commit is contained in:
Dean Camera 2009-12-21 07:42:43 +00:00
parent 37c9ba7fa9
commit c99f6657a6
2 changed files with 2 additions and 2 deletions

View file

@ -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)