altos: Wait for i2c START condition before setting interrupt bits
[fw/altos] / src / stm / stm32l.h
index 60f0b6d05370beec61a9740e012caf7cf6816dd3..ff8dddffc2bb1cbb95947f5fb995a917020f0288 100644 (file)
@@ -1255,7 +1255,7 @@ extern struct stm_i2c stm_i2c1, stm_i2c2;
 #define  STM_I2C_CR2_FREQ_8_MHZ                8
 #define  STM_I2C_CR2_FREQ_16_MHZ       16
 #define  STM_I2C_CR2_FREQ_32_MHZ       32
-#define  STM_I2C_CR2_FREQ_MASK         0x3f;
+#define  STM_I2C_CR2_FREQ_MASK         0x3f
 
 #define STM_I2C_SR1_SMBALERT   15
 #define STM_I2C_SR1_TIMEOUT    14