camelCasing wait_for_keypress

pull/365/head
Jesse Vincent 7 years ago
parent d0e85633b8
commit 42cabcfa6f
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -28,7 +28,7 @@ void TestMode_::loopHook(bool postClear) {
} }
} }
void TestMode_::wait_for_keypress() { void TestMode_::waitForKeypress() {
delay(25); delay(25);
while (1) { while (1) {
KeyboardHardware.readMatrix(); KeyboardHardware.readMatrix();
@ -42,7 +42,7 @@ void TestMode_::wait_for_keypress() {
void TestMode_::set_leds(uint8_t r, uint8_t g, uint8_t b) { void TestMode_::set_leds(uint8_t r, uint8_t g, uint8_t b) {
LEDControl.set_all_leds_to(r, g, b); LEDControl.set_all_leds_to(r, g, b);
LEDControl.syncLeds(); LEDControl.syncLeds();
wait_for_keypress(); waitForKeypress();
} }
void TestMode_::test_leds(void) { void TestMode_::test_leds(void) {

@ -15,7 +15,7 @@ class TestMode_ : public KaleidoscopePlugin {
static void test_leds(); static void test_leds();
static void testMatrix(); static void testMatrix();
static void toggle_programming_leds_on(); static void toggle_programming_leds_on();
static void wait_for_keypress(); static void waitForKeypress();
static void loopHook(bool postClear); static void loopHook(bool postClear);
static void set_leds(uint8_t r, uint8_t g, uint8_t b); static void set_leds(uint8_t r, uint8_t g, uint8_t b);
}; };

Loading…
Cancel
Save