only:minor fix, referencing proper value in the error message

This commit is contained in:
rusefillc 2024-09-07 22:06:09 -04:00
parent 3efa257c20
commit f42bf83e19
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ int getSecondsSinceChannelsRequest() {
void TunerStudio::cmdOutputChannels(TsChannelBase* tsChannel, uint16_t offset, uint16_t count) {
if (offset + count > TS_TOTAL_OUTPUT_SIZE) {
efiPrintf("TS: Version Mismatch? Too much outputs requested offset=%d + count=%d/total=%d", offset, count,
sizeof(TunerStudioOutputChannels));
TS_TOTAL_OUTPUT_SIZE);
sendErrorCode(tsChannel, TS_RESPONSE_OUT_OF_RANGE, "cmd_size");
return;
}