From 4712aabfd400872b00c2299beccac052558fb744 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Mon, 24 Jul 2017 15:11:19 -0700 Subject: [PATCH] camelCasing of _matrix functions --- src/Kaleidoscope-Hardware-Model01.cpp | 10 +++++----- src/Kaleidoscope-Hardware-Model01.h | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Kaleidoscope-Hardware-Model01.cpp b/src/Kaleidoscope-Hardware-Model01.cpp index a22fc21b..d7550b72 100644 --- a/src/Kaleidoscope-Hardware-Model01.cpp +++ b/src/Kaleidoscope-Hardware-Model01.cpp @@ -141,7 +141,7 @@ void debug_keyswitch_event(keydata_t state, keydata_t previousState, uint8_t key } -void Model01::read_matrix() { +void Model01::readMatrix() { //scan the Keyboard matrix looking for connections previousLeftHandState = leftHandState; previousRightHandState = rightHandState; @@ -157,7 +157,7 @@ void Model01::read_matrix() { -void Model01::act_on_matrix_scan() { +void Model01::actOnMatrixScan() { for (byte row = 0; row < 4; row++) { for (byte col = 0; col < 8; col++) { @@ -176,9 +176,9 @@ void Model01::act_on_matrix_scan() { } -void Model01::scan_matrix() { - read_matrix(); - act_on_matrix_scan(); +void Model01::scanMatrix() { + readMatrix(); + actOnMatrixScan(); } void Model01::reboot_bootloader() { diff --git a/src/Kaleidoscope-Hardware-Model01.h b/src/Kaleidoscope-Hardware-Model01.h index 47612c4d..111db050 100644 --- a/src/Kaleidoscope-Hardware-Model01.h +++ b/src/Kaleidoscope-Hardware-Model01.h @@ -20,9 +20,9 @@ class Model01 { cRGB getKeyColor(byte row, byte col); uint8_t getLedIndex(byte row, byte col); - void scan_matrix(void); - void read_matrix(void); - void act_on_matrix_scan(void); + void scanMatrix(void); + void readMatrix(void); + void actOnMatrixScan(void); void setup(); void enable_high_power_leds(void); void enable_scanner_power(void);