rename update_leds

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

@ -45,7 +45,7 @@ void loop() {
scan_matrix();
Keyboard.sendReport();
Keyboard.releaseAll();
LEDs.update_leds(temporary_keymap);
LEDs.update(temporary_keymap);
}

@ -55,7 +55,7 @@ void LEDControl::set_mode(uint8_t mode) {
void LEDControl::update_leds(uint8_t current_keymap) {
void LEDControl::update(uint8_t current_keymap) {
if (current_keymap == NUMPAD_KEYMAP) {
if (led_mode != LED_SPECIAL_MODE_NUMLOCK) {
stored_led_mode = led_mode;

@ -20,7 +20,7 @@ class LEDControl {
public:
void next_mode();
void boot_animation();
void update_leds(uint8_t current_keymap);
void update(uint8_t current_keymap);
void type_letter(uint8_t letter);
void set_mode(uint8_t mode);

Loading…
Cancel
Save