From 2f5b9d5c1d6486b1fc4ca312f7a6dfd3387af788 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Mon, 8 Jul 2019 13:45:23 -0700 Subject: [PATCH] Removed an ancient debugging method --- .../hardware/keyboardio/Model01.cpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/kaleidoscope/hardware/keyboardio/Model01.cpp b/src/kaleidoscope/hardware/keyboardio/Model01.cpp index 62d25edc..efeb289a 100644 --- a/src/kaleidoscope/hardware/keyboardio/Model01.cpp +++ b/src/kaleidoscope/hardware/keyboardio/Model01.cpp @@ -165,23 +165,6 @@ boolean Model01::ledPowerFault() { } } -void debugKeyswitchEvent(keydata_t state, keydata_t previousState, uint8_t keynum, KeyAddr key_addr) { - if (bitRead(state.all, keynum) != bitRead(previousState.all, keynum)) { - Serial.print("Looking at row "); - Serial.print(key_addr.row()); - Serial.print(", col "); - Serial.print(key_addr.col()); - Serial.print(" key # "); - Serial.print(keynum); - Serial.print(" "); - Serial.print(bitRead(previousState.all, keynum)); - Serial.print(" -> "); - Serial.print(bitRead(state.all, keynum)); - Serial.println(); - } -} - - void Model01::readMatrix() { //scan the Keyboard matrix looking for connections previousLeftHandState = leftHandState;