diff --git a/src/app/bme680-max44009-logger/main.cc b/src/app/bme680-max44009-logger/main.cc index 3634d30efdd580a27d73319c6f255a8998fc26b8..8a3ce3a0d76aafdc00269139540317d112cb4cb8 100644 --- a/src/app/bme680-max44009-logger/main.cc +++ b/src/app/bme680-max44009-logger/main.cc @@ -139,9 +139,9 @@ int main(void) ADCSRA = _BV(ADEN) | _BV(ADATE) | _BV(ADPS2) | _BV(ADPS1); #endif - if (i2c.setup() != 0) { + while (i2c.setup() != 0) { kout << "# I2C setup failed" << endl; - return 1; + arch.delay_ms(100); } kout << "# I2C setup OK" << endl;