diff options
Diffstat (limited to 'keyboards/handwired/not_so_minidox/matrix.c')
-rw-r--r-- | keyboards/handwired/not_so_minidox/matrix.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/keyboards/handwired/not_so_minidox/matrix.c b/keyboards/handwired/not_so_minidox/matrix.c index 27a38dca0..aca9daedc 100644 --- a/keyboards/handwired/not_so_minidox/matrix.c +++ b/keyboards/handwired/not_so_minidox/matrix.c | |||
@@ -29,8 +29,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
29 | #include "util.h" | 29 | #include "util.h" |
30 | #include "matrix.h" | 30 | #include "matrix.h" |
31 | #include "split_util.h" | 31 | #include "split_util.h" |
32 | #include "pro_micro.h" | ||
33 | #include "config.h" | 32 | #include "config.h" |
33 | #include "quantum.h" | ||
34 | 34 | ||
35 | #ifdef USE_I2C | 35 | #ifdef USE_I2C |
36 | # include "i2c.h" | 36 | # include "i2c.h" |
@@ -100,7 +100,8 @@ void matrix_init(void) | |||
100 | unselect_rows(); | 100 | unselect_rows(); |
101 | init_cols(); | 101 | init_cols(); |
102 | 102 | ||
103 | TX_RX_LED_INIT; | 103 | setPinOutput(B0); |
104 | setPinOutput(D5); | ||
104 | 105 | ||
105 | // initialize matrix state: all keys off | 106 | // initialize matrix state: all keys off |
106 | for (uint8_t i=0; i < MATRIX_ROWS; i++) { | 107 | for (uint8_t i=0; i < MATRIX_ROWS; i++) { |
@@ -201,7 +202,7 @@ uint8_t matrix_scan(void) | |||
201 | if( serial_transaction() ) { | 202 | if( serial_transaction() ) { |
202 | #endif | 203 | #endif |
203 | // turn on the indicator led when halves are disconnected | 204 | // turn on the indicator led when halves are disconnected |
204 | TXLED1; | 205 | writePinLow(D5); |
205 | 206 | ||
206 | error_count++; | 207 | error_count++; |
207 | 208 | ||
@@ -214,7 +215,7 @@ uint8_t matrix_scan(void) | |||
214 | } | 215 | } |
215 | } else { | 216 | } else { |
216 | // turn off the indicator led on no error | 217 | // turn off the indicator led on no error |
217 | TXLED0; | 218 | writePinHigh(D5); |
218 | error_count = 0; | 219 | error_count = 0; |
219 | } | 220 | } |
220 | matrix_scan_quantum(); | 221 | matrix_scan_quantum(); |