X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/47384e3c5029381d8b9fff2dbacbeec7c1e71845..05fcf7e2a79bebb978d4aeaef26b12f70c6826f8:/Projects/LEDNotifier/LEDNotifier.c diff --git a/Projects/LEDNotifier/LEDNotifier.c b/Projects/LEDNotifier/LEDNotifier.c index 5a7ebd563..1a8761653 100644 --- a/Projects/LEDNotifier/LEDNotifier.c +++ b/Projects/LEDNotifier/LEDNotifier.c @@ -30,11 +30,11 @@ /** \file * - * Main source file for the HotmailNotfier project. This file contains the main tasks of + * Main source file for the LEDNotfier project. This file contains the main tasks of * the demo and is responsible for the initial application hardware configuration. */ -#include "HotmailNotifier.h" +#include "LEDNotifier.h" /** LUFA CDC Class driver interface configuration and state information. This structure is * passed to all CDC Class driver functions, so that multiple instances of the same class @@ -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)