aboutsummaryrefslogtreecommitdiff
path: root/keyboards/helix/local_drivers/i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/helix/local_drivers/i2c.c')
-rw-r--r--keyboards/helix/local_drivers/i2c.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/keyboards/helix/local_drivers/i2c.c b/keyboards/helix/local_drivers/i2c.c
index 4bee5c639..9221429e9 100644
--- a/keyboards/helix/local_drivers/i2c.c
+++ b/keyboards/helix/local_drivers/i2c.c
@@ -6,8 +6,6 @@
6#include <stdbool.h> 6#include <stdbool.h>
7#include "i2c.h" 7#include "i2c.h"
8 8
9#ifdef USE_I2C
10
11// Limits the amount of we wait for any one i2c transaction. 9// Limits the amount of we wait for any one i2c transaction.
12// Since were running SCL line 100kHz (=> 10μs/bit), and each transactions is 10// Since were running SCL line 100kHz (=> 10μs/bit), and each transactions is
13// 9 bits, a single transaction will take around 90μs to complete. 11// 9 bits, a single transaction will take around 90μs to complete.
@@ -159,4 +157,3 @@ ISR(TWI_vect) {
159 // Reset everything, so we are ready for the next TWI interrupt 157 // Reset everything, so we are ready for the next TWI interrupt
160 TWCR |= (1<<TWIE) | (1<<TWINT) | (ack<<TWEA) | (1<<TWEN); 158 TWCR |= (1<<TWIE) | (1<<TWINT) | (ack<<TWEA) | (1<<TWEN);
161} 159}
162#endif