diff options
author | Erez Zukerman <ezuk@madmimi.com> | 2015-10-28 04:07:15 +0200 |
---|---|---|
committer | Erez Zukerman <ezuk@madmimi.com> | 2015-10-28 04:07:15 +0200 |
commit | d3db8d62f6fc6a7dee43978ddc8356579b502b37 (patch) | |
tree | 6d9445482ff1fd7d564fbc8494344056a120461e /keyboard/ergodox_ez/matrix.c | |
parent | 2739aa8d780a8210eac30a284786d60dedc671bc (diff) |
More work on ErgoDox EZ default keymap
Diffstat (limited to 'keyboard/ergodox_ez/matrix.c')
-rw-r--r-- | keyboard/ergodox_ez/matrix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboard/ergodox_ez/matrix.c b/keyboard/ergodox_ez/matrix.c index 09380d3083..3e1d69444b 100644 --- a/keyboard/ergodox_ez/matrix.c +++ b/keyboard/ergodox_ez/matrix.c @@ -277,7 +277,7 @@ static void unselect_rows(void) 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 - & ~(ergodox_left_led_3<<LEFT_LED_3_SHIFT) + & ~(0<<7) ); if (mcp23018_status) goto out; out: i2c_stop(); @@ -305,7 +305,7 @@ static void select_row(uint8_t row) 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<<row) - & ~(ergodox_left_led_3<<LEFT_LED_3_SHIFT) + & ~(0<<7) ); if (mcp23018_status) goto out; out: i2c_stop(); |