diff options
| author | Selene ToyKeeper | 2023-10-12 15:11:26 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2023-10-12 15:11:26 -0600 |
| commit | ad4fb567fbc0a86fcc24ceba951e467ab8b91211 (patch) | |
| tree | ce38203b9fa5547c105430099d73dd318cc48a41 /spaghetti-monster | |
| parent | emisar-d4: added smooth steps and tactical mode, reduced ramp bump, (diff) | |
| download | anduril-ad4fb567fbc0a86fcc24ceba951e467ab8b91211.tar.gz anduril-ad4fb567fbc0a86fcc24ceba951e467ab8b91211.tar.bz2 anduril-ad4fb567fbc0a86fcc24ceba951e467ab8b91211.zip | |
fixed RGB aux colors being off by one
(bug introduced in r772, when adding AA/NiMH RGB voltage support)
Diffstat (limited to '')
| -rw-r--r-- | spaghetti-monster/anduril/aux-leds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spaghetti-monster/anduril/aux-leds.c b/spaghetti-monster/anduril/aux-leds.c index 097cf28..af59aa6 100644 --- a/spaghetti-monster/anduril/aux-leds.c +++ b/spaghetti-monster/anduril/aux-leds.c @@ -131,7 +131,7 @@ void rgb_led_update(uint8_t mode, uint16_t arg) { } #endif - const uint8_t *colors = rgb_led_colors; + const uint8_t *colors = rgb_led_colors + 1; uint8_t actual_color = 0; if (color < 7) { // normal color actual_color = pgm_read_byte(colors + color); |
