From 605f0039eae2097eeb7cf5ebee8dbd2b31bc47c0 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Tue, 26 Jan 2016 23:51:39 -0800 Subject: [PATCH] rename update_leds --- KeyboardioFirmware.ino | 2 +- led_control.cpp | 2 +- led_control.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/KeyboardioFirmware.ino b/KeyboardioFirmware.ino index ff1a63af..cd202a2e 100644 --- a/KeyboardioFirmware.ino +++ b/KeyboardioFirmware.ino @@ -45,7 +45,7 @@ void loop() { scan_matrix(); Keyboard.sendReport(); Keyboard.releaseAll(); - LEDs.update_leds(temporary_keymap); + LEDs.update(temporary_keymap); } diff --git a/led_control.cpp b/led_control.cpp index eba7b66d..f2baf153 100644 --- a/led_control.cpp +++ b/led_control.cpp @@ -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; diff --git a/led_control.h b/led_control.h index 8bcdada8..63b68626 100644 --- a/led_control.h +++ b/led_control.h @@ -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);