@@ -128,7 +128,7 @@ void i2c_scan(void) {
timeout = 0;
while (i2c_flag_get(I2C0, I2C_FLAG_STPDET) && (timeout < I2C_TIME_OUT))
while ((I2C_CTL0(I2C0) & I2C_CTL0_STOP) && (timeout < I2C_TIME_OUT))
timeout++;
}
The note is not visible to the blocked user.