only calibrate if ADC detected

This commit is contained in:
Amelia Deck committed 2026-10-07 13:11:39 -05:00
1 parent 4ec6c249b3
commit 6a08b25727
1 file changed
+3 -3
+3 -3
View File
@@ -408,14 +408,14 @@ void setup() {
if (pass == startpass+1) {
Serial.println(" done");
delay(20);
Serial.print("Calibrating current sensors..");
set_offset();
Serial.println(" done");
} else {
Serial.println(" WARNING: ADC not detected");
set_hex(0xF8);
delay(500);
}
Serial.print("Calibrating current sensors..");
set_offset();
Serial.println("done");
Serial.print("Checking OSMC 1..");
set_hex(0x9);