Not really, just check your syntax before compiling and don’t flash full FET firmware on lights that can’t handle it. On another note, I tried to modify the AUX battery voltage settings, but for some reason the purple level (4.0v+) doesn’t work.
Forgive my text here, I don't know how to keep the spacing correct with code blocks. Upper section is my alteration.
#if defined(USE_AUX_RGB_LEDS) && defined(TICK_DURING_STANDBY)
uint8_t voltage_to_rgb() {
static const uint8_t levels[] = {
// voltage, color
0, 0, // 0, R
34, 1, // 1, R+G
36, 2, // 2, G
// 37, 3, // 3, G+B no Cyan
38, 4, // 4, B
40, 5, // 5, R + B
// 44, 6, // 6, R+G+B // skip; looks too similar to G+B
255, 6, // 7, R+G+B
};
// static const uint8_t levels[] = { //stock fancy
// voltage, color
// 0, 0, // 0, R
// 33, 1, // 1, R+G
// 35, 2, // 2, G
// 37, 3, // 3, G+B
// 39, 4, // 4, B
// 41, 5, // 5, R + B
// 44, 6, // 6, R+G+B // skip; looks too similar to G+B
// 255, 6, // 7, R+G+B
// };
uint8_t volts = voltage;
if (volts < 29) return 0;
uint8_t i;
for (i = 0; volts >= levels[i]; i += 2) {}
uint8_t color_num = levels[(i - 2) + 1];
return pgm_read_byte(rgb_led_colors + color_num);
}