WiP: GSM cmux implementation bug hunting

Preparation to cellular service
This commit is contained in:
Mateusz committed 2019-07-03 14:25:08 +02:00
1 parent 1ca0c25521
commit bbc95c654c
7 files changed
+24 -10

No files matched your search

+1 -1
View File
@@ -140,7 +140,7 @@ int InputSerialWorker::ExtractFrames() {
MuxChannel::State::Opened) {//reopening, discard the data
// Send received message to virtual channel for further processing
write_result = muxDaemon->channels[frame->channel].Send(frame->data,frame->length);
write_result = muxDaemon->channels[frame->channel].DistributeMsg(frame->data,frame->length);
} else {
LOG_INFO("channel %d closed, discard the frame", frame->channel);
write_result = frame->length;