diff --git a/firmware/console/binary/tunerstudio.cpp b/firmware/console/binary/tunerstudio.cpp index 09718cfd13..28425afa27 100644 --- a/firmware/console/binary/tunerstudio.cpp +++ b/firmware/console/binary/tunerstudio.cpp @@ -357,7 +357,9 @@ static void sendResponseCode(ts_response_format_e mode, TsChannelBase *tsChannel * 'Burn' command is a command to commit the changes */ static void handleBurnCommand(TsChannelBase* tsChannel, ts_response_format_e mode) { - efitimems_t nowMs = getTimeNowMs(); + Timer t; + t.reset(); + tsState.burnCommandCounter++; efiPrintf("got B (Burn) %s", mode == TS_PLAIN ? "plain" : "CRC"); @@ -368,7 +370,7 @@ static void handleBurnCommand(TsChannelBase* tsChannel, ts_response_format_e mod } sendResponseCode(mode, tsChannel, TS_RESPONSE_BURN_OK); - efiPrintf("BURN in %dms", getTimeNowMs() - nowMs); + efiPrintf("BURN in %dms", (int)(t.getElapsedSeconds() * 1e3)); } #if (EFI_PROD_CODE || EFI_SIMULATOR)