only:minor fix, referencing proper value in the error message
This commit is contained in:
parent
3efa257c20
commit
f42bf83e19
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue