diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/app.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -96,7 +96,7 @@ void app_timer_event() | |||
96 | { | 96 | { |
97 | r = x; | 97 | r = x; |
98 | } | 98 | } |
99 | else if (x > MAXLED && x < (2*MAXLED)) | 99 | else if (x >= MAXLED && x < (2*MAXLED)) |
100 | { | 100 | { |
101 | r = MAXLED - x; | 101 | r = MAXLED - x; |
102 | g = x - MAXLED; | 102 | g = x - MAXLED; |