aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/lets_split/matrix.c
diff options
context:
space:
mode:
authorishtob <ishtob@gmail.com>2017-03-22 15:04:11 -0400
committerGitHub <noreply@github.com>2017-03-22 15:04:11 -0400
commit65317a3a020c0b0261849fb4c40d3aae175ac337 (patch)
tree9066b264cec4c11286b46fe1bc837b09c5f1c30d /keyboards/lets_split/matrix.c
parent423c68c210d73f6bb05c3e9f4a994833b12a524e (diff)
downloadfirmware-65317a3a020c0b0261849fb4c40d3aae175ac337.tar.gz
firmware-65317a3a020c0b0261849fb4c40d3aae175ac337.tar.bz2
firmware-65317a3a020c0b0261849fb4c40d3aae175ac337.zip
Added OLED SSD1306 support to I2C
Diffstat (limited to 'keyboards/lets_split/matrix.c')
-rw-r--r--keyboards/lets_split/matrix.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/keyboards/lets_split/matrix.c b/keyboards/lets_split/matrix.c
index 138969004..b6e59cb7f 100644
--- a/keyboards/lets_split/matrix.c
+++ b/keyboards/lets_split/matrix.c
@@ -210,8 +210,9 @@ uint8_t matrix_scan(void)
if( serial_transaction() ) {
#endif
// turn on the indicator led when halves are disconnected
- TXLED1;
-
+// TXLED1;
+ TXLED0;
+
error_count++;
if (error_count > ERROR_DISCONNECT_COUNT) {
@@ -226,9 +227,7 @@ uint8_t matrix_scan(void)
TXLED0;
error_count = 0;
}
-
matrix_scan_quantum();
-
return ret;
}