fixed #429
This commit is contained in:
parent
4f0d1a4b46
commit
82cfb4bb75
|
@ -590,12 +590,12 @@ void handleQueryCommand(ts_channel_s *tsChannel, ts_response_format_e mode) {
|
||||||
*/
|
*/
|
||||||
void handleOutputChannelsCommand(ts_channel_s *tsChannel, ts_response_format_e mode, uint16_t offset, uint16_t count) {
|
void handleOutputChannelsCommand(ts_channel_s *tsChannel, ts_response_format_e mode, uint16_t offset, uint16_t count) {
|
||||||
|
|
||||||
//
|
|
||||||
// if (size < offset + count) {
|
if (sizeof(TunerStudioOutputChannels) < offset + count) {
|
||||||
// scheduleMsg(&tsLogger, "invalid offset/count %d/%d", offset, count);
|
scheduleMsg(&tsLogger, "invalid offset/count %d/%d", offset, count);
|
||||||
// sendErrorCode(tsChannel);
|
sendErrorCode(tsChannel);
|
||||||
// return;
|
return;
|
||||||
// }
|
}
|
||||||
|
|
||||||
|
|
||||||
tsState.outputChannelsCommandCounter++;
|
tsState.outputChannelsCommandCounter++;
|
||||||
|
|
Loading…
Reference in New Issue