summaryrefslogtreecommitdiffstats
path: root/keyboards/ergodox/ez/ez.c
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-01-23 13:55:24 -0500
committerJack Humbert <jack.humb@gmail.com>2017-01-23 13:55:24 -0500
commit841d7e6a1d74b1fc45575ed551132ec27353ebf3 (patch)
tree24f59f81823f36e76c01f6f36e8216b5d3531257 /keyboards/ergodox/ez/ez.c
parent6d377bcc9cb417158a71cd78656ca2e1743885b2 (diff)
turn off rgb_midi in ez
Diffstat (limited to 'keyboards/ergodox/ez/ez.c')
-rw-r--r--keyboards/ergodox/ez/ez.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/ergodox/ez/ez.c b/keyboards/ergodox/ez/ez.c
index 039e4c6bb1..3e19f23028 100644
--- a/keyboards/ergodox/ez/ez.c
+++ b/keyboards/ergodox/ez/ez.c
@@ -52,9 +52,9 @@ uint8_t init_mcp23018(void) {
// I2C subsystem
- uint8_t sreg_prev;
- sreg_prev=SREG;
- cli();
+ // uint8_t sreg_prev;
+ // sreg_prev=SREG;
+ // cli();
if (i2c_initialized == 0) {
i2c_init(); // on pins D(1,0)
i2c_initialized++;
@@ -83,7 +83,7 @@ uint8_t init_mcp23018(void) {
out:
i2c_stop();
- SREG=sreg_prev;
+ // SREG=sreg_prev;
return mcp23018_status;
}