diff --git a/NucuCar.Sensors/EnvironmentSensor/Worker.cs b/NucuCar.Sensors/EnvironmentSensor/Worker.cs index 7c70570..fe5fcb9 100644 --- a/NucuCar.Sensors/EnvironmentSensor/Worker.cs +++ b/NucuCar.Sensors/EnvironmentSensor/Worker.cs @@ -26,6 +26,7 @@ namespace NucuCar.Sensors.EnvironmentSensor } else { + await Task.Delay(10000, stoppingToken); /* Attempt to reinitialize the sensor. */ sensor.InitializeSensor(); }