run start_ina219() after ina219 problem

pull/252/head
alanbjohnston 3 years ago committed by GitHub
parent bc4782e3cb
commit cc3abaea1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2427,8 +2427,11 @@ void read_ina219()
}
voltage_read = false;
if ((millis() - read_time) > 1000)
if ((millis() - read_time) > 1000) {
Serial.println("There is an I2C sensor problem");
start_ina219();
}
}
void read_sensors()

Loading…
Cancel
Save

Powered by TurnKey Linux.