TS: actually cal SaveConfig (#142)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
This commit is contained in:
rusefillc 2022-09-06 01:53:41 -04:00 committed by GitHub
parent a652715873
commit 268f8ddae7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -282,7 +282,7 @@ void TunerStudio::handlePageReadCommand(TsChannelBase* tsChannel, ts_response_fo
}
void requestBurn(void) {
//SaveConfiguration();
SaveConfiguration();
}
static void sendResponseCode(ts_response_format_e mode, TsChannelBase *tsChannel, const uint8_t responseCode) {
@ -297,7 +297,7 @@ static void sendResponseCode(ts_response_format_e mode, TsChannelBase *tsChannel
static void handleBurnCommand(TsChannelBase* tsChannel, ts_response_format_e mode) {
tsState.burnCommandCounter++;
//SaveConfiguration();
SaveConfiguration();
sendResponseCode(mode, tsChannel, TS_RESPONSE_BURN_OK);
}