bugfix: TS connectivity issue with enlarged output channels
This commit is contained in:
parent
64caa6f5ff
commit
afd506a868
|
@ -38,7 +38,7 @@ bool rebootForPresetPending = false;
|
||||||
* Gauges refresh
|
* Gauges refresh
|
||||||
*/
|
*/
|
||||||
void TunerStudio::cmdOutputChannels(TsChannelBase* tsChannel, uint16_t offset, uint16_t count) {
|
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,
|
efiPrintf("TS: Version Mismatch? Too much outputs requested %d/%d/%d", offset, count,
|
||||||
sizeof(TunerStudioOutputChannels));
|
sizeof(TunerStudioOutputChannels));
|
||||||
sendErrorCode(tsChannel, TS_RESPONSE_OUT_OF_RANGE);
|
sendErrorCode(tsChannel, TS_RESPONSE_OUT_OF_RANGE);
|
||||||
|
|
Loading…
Reference in New Issue