From 3eeb7ca9f94e872606a1d14bf1639fbca95c6ab0 Mon Sep 17 00:00:00 2001 From: Mark Sikora Date: Sat, 28 May 2016 20:49:40 -0400 Subject: [PATCH] Cleanup whitespace --- keyboard/ergodox/ergodox.c | 1 - keyboard/ergodox/keymap_passwords_example.h | 2 -- keyboard/ergodox/led.c | 1 - keyboard/ergodox/matrix.c | 7 +++---- 4 files changed, 3 insertions(+), 8 deletions(-) diff --git a/keyboard/ergodox/ergodox.c b/keyboard/ergodox/ergodox.c index 494d13c1..a88772c7 100644 --- a/keyboard/ergodox/ergodox.c +++ b/keyboard/ergodox/ergodox.c @@ -134,4 +134,3 @@ out: i2c_stop(); return mcp23018_status; } - diff --git a/keyboard/ergodox/keymap_passwords_example.h b/keyboard/ergodox/keymap_passwords_example.h index ed53b99d..01398d92 100644 --- a/keyboard/ergodox/keymap_passwords_example.h +++ b/keyboard/ergodox/keymap_passwords_example.h @@ -19,5 +19,3 @@ I(15), \ T(E), T(X), T(A), T(M), T(P), T(L), T(E), \ END) \ - - diff --git a/keyboard/ergodox/led.c b/keyboard/ergodox/led.c index 7a2c4ebf..765386e0 100644 --- a/keyboard/ergodox/led.c +++ b/keyboard/ergodox/led.c @@ -54,4 +54,3 @@ void led_set(uint8_t usb_led) ergodox_right_led_3_off(); } } - diff --git a/keyboard/ergodox/matrix.c b/keyboard/ergodox/matrix.c index 5c9c4bc2..cecfe574 100644 --- a/keyboard/ergodox/matrix.c +++ b/keyboard/ergodox/matrix.c @@ -233,11 +233,11 @@ uint8_t matrix_key_count(void) * * Teensy * col: 0 1 2 3 4 5 - * pin: F0 F1 F4 F5 F6 F7 + * pin: F0 F1 F4 F5 F6 F7 * * MCP23018 * col: 0 1 2 3 4 5 - * pin: B5 B4 B3 B2 B1 B0 + * pin: B5 B4 B3 B2 B1 B0 */ static void init_cols(void) { @@ -326,7 +326,7 @@ static void select_row(uint8_t row) // set other rows hi-Z : 1 mcp23018_status = i2c_start(I2C_ADDR_WRITE); if (mcp23018_status) goto out; mcp23018_status = i2c_write(GPIOA); if (mcp23018_status) goto out; - mcp23018_status = i2c_write( 0xFF & ~(1<