Fix I2C scanning for HIMAX sensor.
* The HIMAX sensors seems to reply at two address, 0x10 and 048. The right
address is 0x48 so we start scanning the I2C bus after 0x10 to as a workaround.
@@ -45,7 +45,7 @@ int cambus_init()
int cambus_scan()
{
- for (uint8_t addr=0x08; addr<=0x77; addr++) {
+ for (uint8_t addr=0x09; addr<=0x77; addr++) {
__disable_irq();
if (HAL_I2C_IsDeviceReady(&I2CHandle, addr << 1, 10, I2C_TIMEOUT) == HAL_OK) {
__enable_irq();
