rename update_leds

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

@ -45,7 +45,7 @@ void loop() {
scan_matrix(); scan_matrix();
Keyboard.sendReport(); Keyboard.sendReport();
Keyboard.releaseAll(); 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 (current_keymap == NUMPAD_KEYMAP) {
if (led_mode != LED_SPECIAL_MODE_NUMLOCK) { if (led_mode != LED_SPECIAL_MODE_NUMLOCK) {
stored_led_mode = led_mode; stored_led_mode = led_mode;

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

Loading…
Cancel
Save