From f345cc78b23d6d9150cde971270ae46ee418f9e3 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Mon, 13 Apr 2020 12:32:53 +0200 Subject: [PATCH] Fix compile error --- tasmota/support_flash_log.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasmota/support_flash_log.ino b/tasmota/support_flash_log.ino index 162ea1f0b..9aa8ecc05 100644 --- a/tasmota/support_flash_log.ino +++ b/tasmota/support_flash_log.ino @@ -400,7 +400,7 @@ void FLOG::stopRecording(void){ if(k%128 == 0){ // give control to the system every x iteration, TODO: This will fail, when record/entry-size is not 8 // DEBUG_SENSOR_LOG(PSTR("FLOG: now loop(), %u bytes left"), Flog->bytes_left); OsWatchLoop(); - delay(sleep); + delay(ssleep); } k+=size; if(bytes_left>7){ @@ -419,7 +419,7 @@ void FLOG::stopRecording(void){ _readSector(next_sector); bytes_left = sector.header.buf_pointer - sizeof(sector.header); OsWatchLoop(); - delay(sleep); + delay(ssleep); } running_download = false; // Callback 3: create a footer or simply finish the download with an empty payload