Start loop with a measure

This commit is contained in:
Mathieu Maret 2016-06-01 01:23:23 +02:00
parent 04690a4c66
commit 69fd24b756

View File

@ -254,7 +254,7 @@ void setup() {
#endif #endif
} }
uint nbCycle = 0; uint nbCycle = CONFIG_SAMPLING_PERIODE_MS / CONFIG_WEB_DELAY_MS;
void loop() { void loop() {
if (mode == BOOTMODE_OTA) { if (mode == BOOTMODE_OTA) {
ArduinoOTA.handle(); ArduinoOTA.handle();