We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f9ddd9d + 235706a commit 19ebd8cCopy full SHA for 19ebd8c
1 file changed
src/helpers/sensors/RAK12035_SoilMoisture.cpp
@@ -431,7 +431,7 @@ bool RAK12035_SoilMoisture::sensor_on()
431
delay(10); // Wait for the sensor code to complete initialization
432
*/
433
uint8_t v = 0;
434
- time_t timeout = millis();
+ uint32_t timeout = millis();
435
while ((!query_sensor())) //Wait for sensor to respond to I2C commands,
436
{ //indicating it is ready
437
if ((millis() - timeout) > 50){ //0.5 second timeout for sensor to respond
0 commit comments