1
0
forked from me/IronOS

Rewrite tip resistance measurement

This commit is contained in:
Ben V. Brown
2022-07-08 22:13:07 +10:00
parent 3279cfabfc
commit 0d8ba1dd92
2 changed files with 55 additions and 54 deletions

View File

@@ -46,7 +46,8 @@ void startPIDTask(void const *argument __unused) {
getInputVoltageX10(getSettingValue(SettingsOptions::VoltageDiv), 1);
}
while (preStartChecks() != 0) {
while (preStartChecks() == 0) {
resetWatchdog();
ulTaskNotifyTake(pdTRUE, 2000);
}