aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-10-12 15:11:26 -0600
committerSelene ToyKeeper2023-10-12 15:11:26 -0600
commitad4fb567fbc0a86fcc24ceba951e467ab8b91211 (patch)
treece38203b9fa5547c105430099d73dd318cc48a41 /spaghetti-monster
parentemisar-d4: added smooth steps and tactical mode, reduced ramp bump, (diff)
downloadanduril-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 'spaghetti-monster')
-rw-r--r--spaghetti-monster/anduril/aux-leds.c2
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);
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.