added OTA

This commit is contained in:
2021-10-24 14:06:59 +02:00
parent 62ce317dda
commit af26d5c071
11 changed files with 123 additions and 18 deletions

View File

@@ -28,7 +28,7 @@ void handleGame(void)
if (hall_idle_count > HALLIDLESAMPLES)
{
hall_is_Idle = false;
hall_idle_count = 8;
hall_idle_count = HALLPLAYSAMPLES;
}
else
{
@@ -47,7 +47,7 @@ void handleGame(void)
hall_idle_count--;
}
}
debugD("HallSensor: val=%d, delta=%d, count=%d, idle=%s\n",
Serial.printf("HallSensor: val=%d, delta=%d, count=%d, idle=%s\n",
hall_sample,
hall_delta,
hall_idle_count,