camelCasing of _matrix functions

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

@ -31,7 +31,7 @@ void TestMode_::loopHook(bool postClear) {
void TestMode_::wait_for_keypress() { void TestMode_::wait_for_keypress() {
delay(25); delay(25);
while (1) { while (1) {
KeyboardHardware.read_matrix(); KeyboardHardware.readMatrix();
if (KeyboardHardware.leftHandState.all == R3C6 if (KeyboardHardware.leftHandState.all == R3C6
&& KeyboardHardware.previousLeftHandState.all == 0) { && KeyboardHardware.previousLeftHandState.all == 0) {
break; break;
@ -65,10 +65,10 @@ void TestMode_::test_leds(void) {
void TestMode_::test_matrix() { void TestMode_::testMatrix() {
LEDControl.set_all_leds_to(200, 0, 0); LEDControl.set_all_leds_to(200, 0, 0);
while (1) { while (1) {
KeyboardHardware.read_matrix(); KeyboardHardware.readMatrix();
if (KeyboardHardware.leftHandState.all == TEST_MODE_KEY_COMBO) { if (KeyboardHardware.leftHandState.all == TEST_MODE_KEY_COMBO) {
break; break;
} }
@ -117,7 +117,7 @@ void TestMode_::run_tests() {
toggle_programming_leds_on(); toggle_programming_leds_on();
test_leds(); test_leds();
test_matrix(); testMatrix();
// Serial.println("Done running tests"); // Serial.println("Done running tests");
} }

@ -13,7 +13,7 @@ class TestMode_ : public KaleidoscopePlugin {
private: private:
static void run_tests(); static void run_tests();
static void test_leds(); static void test_leds();
static void test_matrix(); static void testMatrix();
static void toggle_programming_leds_on(); static void toggle_programming_leds_on();
static void wait_for_keypress(); static void wait_for_keypress();
static void loopHook(bool postClear); static void loopHook(bool postClear);

Loading…
Cancel
Save