mirror of https://github.com/FOME-Tech/fome-fw.git
bugfix: TS connectivity issue with enlarged output channels
This commit is contained in:
parent
44dae6d8d5
commit
9fdba11d87
|
@ -38,7 +38,7 @@ bool rebootForPresetPending = false;
|
|||
* Gauges refresh
|
||||
*/
|
||||
void TunerStudio::cmdOutputChannels(TsChannelBase* tsChannel, uint16_t offset, uint16_t count) {
|
||||
if (offset + count > sizeof(TunerStudioOutputChannels)) {
|
||||
if (offset + count > TS_TOTAL_OUTPUT_SIZE) {
|
||||
efiPrintf("TS: Version Mismatch? Too much outputs requested %d/%d/%d", offset, count,
|
||||
sizeof(TunerStudioOutputChannels));
|
||||
sendErrorCode(tsChannel, TS_RESPONSE_OUT_OF_RANGE);
|
||||
|
|
Loading…
Reference in New Issue