fixed inverted presence check

This commit is contained in:
2018-01-29 08:55:05 +01:00
parent 18e76ad060
commit 9e65c8409a
+1 -1
View File
@@ -171,7 +171,7 @@ static bool ow_reset(Unit *unit)
ow_release_line(unit);
PTIM_MicroDelay(118);
presence = ow_sample_line(unit);
presence = !ow_sample_line(unit);
}
vPortExitCritical();