rename next_led_mode

pull/18/head
Jesse Vincent 9 years ago
parent db89f0e6eb
commit 146b69997b

@ -68,7 +68,7 @@ void handle_synthetic_key_event(byte switchState, Key mappedKey) {
} else if (mappedKey.flags & IS_INTERNAL) {
if (key_toggled_on (switchState)) {
if (mappedKey.rawKey == LED_TOGGLE) {
LEDs.next_led_mode();
LEDs.next_mode();
}
}
} else if (mappedKey.flags & IS_SYSCTL) {

@ -42,7 +42,7 @@ void LEDControl::set_all_leds_to(cRGB color) {
}
void LEDControl::next_led_mode() {
void LEDControl::next_mode() {
if (led_mode++ >= LED_MODES) {
led_mode = 0;
}

@ -18,7 +18,7 @@
class LEDControl {
public:
void next_led_mode();
void next_mode();
void boot_animation();
void update_leds(uint8_t current_keymap);
void type_letter(uint8_t letter);

Loading…
Cancel
Save