mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-26 20:26:32 +00:00
Fix compile error
This commit is contained in:
parent
5337d84063
commit
f345cc78b2
@ -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
|
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);
|
// DEBUG_SENSOR_LOG(PSTR("FLOG: now loop(), %u bytes left"), Flog->bytes_left);
|
||||||
OsWatchLoop();
|
OsWatchLoop();
|
||||||
delay(sleep);
|
delay(ssleep);
|
||||||
}
|
}
|
||||||
k+=size;
|
k+=size;
|
||||||
if(bytes_left>7){
|
if(bytes_left>7){
|
||||||
@ -419,7 +419,7 @@ void FLOG::stopRecording(void){
|
|||||||
_readSector(next_sector);
|
_readSector(next_sector);
|
||||||
bytes_left = sector.header.buf_pointer - sizeof(sector.header);
|
bytes_left = sector.header.buf_pointer - sizeof(sector.header);
|
||||||
OsWatchLoop();
|
OsWatchLoop();
|
||||||
delay(sleep);
|
delay(ssleep);
|
||||||
}
|
}
|
||||||
running_download = false;
|
running_download = false;
|
||||||
// Callback 3: create a footer or simply finish the download with an empty payload
|
// Callback 3: create a footer or simply finish the download with an empty payload
|
||||||
|
Loading…
x
Reference in New Issue
Block a user