Fix compile error

This commit is contained in:
Theo Arends 2020-04-13 12:32:53 +02:00
parent 5337d84063
commit f345cc78b2

View File

@ -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