camelCasing of _matrix functions

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

@ -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() {

@ -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);

Loading…
Cancel
Save