aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/LEDNotifier/LEDNotifier.c
diff options
context:
space:
mode:
Diffstat (limited to 'Projects/LEDNotifier/LEDNotifier.c')
-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)