Minor initialization fix for state recorder.

This commit is contained in:
harry 2023-04-15 15:53:17 -04:00
parent c5182aacce
commit 5adbc1fcf2
1 changed files with 3 additions and 5 deletions

View File

@ -1205,8 +1205,6 @@ class StateRecorder
lastState = ringHead;
loadIndexReset = false;
lastLoadFrame = 0;
loadPauseTime = 3;
pauseOnLoad = StateRecorderConfigData::TEMPORARY_PAUSE;
}
~StateRecorder(void)
@ -1244,9 +1242,9 @@ class StateRecorder
printf("ringBufSize:%i framesPerSnap:%i\n", ringBufSize, framesPerSnap );
compressionLevel = stateRecorderConfig.compressionLevel;
loadPauseTime = stateRecorderConfig.loadPauseTimeSeconds;
pauseOnLoad = stateRecorderConfig.pauseOnLoad;
compressionLevel = config.compressionLevel;
loadPauseTime = config.loadPauseTimeSeconds;
pauseOnLoad = config.pauseOnLoad;
}
void update(void)