diff --git a/src/bus/i2c.c b/src/bus/i2c.c index 988b2f3..931981d 100644 --- a/src/bus/i2c.c +++ b/src/bus/i2c.c @@ -2,7 +2,6 @@ #include "bus/i2c.h" #include -#include #define TW_START 0x08 #define TW_REP_START 0x10 @@ -35,8 +34,6 @@ int I2C_Start(unsigned char addr, unsigned char mode) { unsigned int status; - assert(mode == 0 || mode == 1); - // Send start condition TWCR = (1 << TWEN) // Enable TWI