From 42cabcfa6f00bf50c31041f2f0fab7898e11b0f3 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Mon, 24 Jul 2017 15:59:50 -0700 Subject: [PATCH] camelCasing wait_for_keypress --- src/Kaleidoscope-Model01-TestMode.cpp | 4 ++-- src/Kaleidoscope-Model01-TestMode.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Kaleidoscope-Model01-TestMode.cpp b/src/Kaleidoscope-Model01-TestMode.cpp index e7c4a882..c0a0473e 100644 --- a/src/Kaleidoscope-Model01-TestMode.cpp +++ b/src/Kaleidoscope-Model01-TestMode.cpp @@ -28,7 +28,7 @@ void TestMode_::loopHook(bool postClear) { } } -void TestMode_::wait_for_keypress() { +void TestMode_::waitForKeypress() { delay(25); while (1) { KeyboardHardware.readMatrix(); @@ -42,7 +42,7 @@ void TestMode_::wait_for_keypress() { void TestMode_::set_leds(uint8_t r, uint8_t g, uint8_t b) { LEDControl.set_all_leds_to(r, g, b); LEDControl.syncLeds(); - wait_for_keypress(); + waitForKeypress(); } void TestMode_::test_leds(void) { diff --git a/src/Kaleidoscope-Model01-TestMode.h b/src/Kaleidoscope-Model01-TestMode.h index 144bad52..ea15d1d0 100644 --- a/src/Kaleidoscope-Model01-TestMode.h +++ b/src/Kaleidoscope-Model01-TestMode.h @@ -15,7 +15,7 @@ class TestMode_ : public KaleidoscopePlugin { static void test_leds(); static void testMatrix(); static void toggle_programming_leds_on(); - static void wait_for_keypress(); + static void waitForKeypress(); static void loopHook(bool postClear); static void set_leds(uint8_t r, uint8_t g, uint8_t b); };