File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ bool CMux::on_header(CMuxFrame &frame)
248248 // Sanity check for expected values of DLCI and type,
249249 // since CRC could be evaluated after the frame payload gets received
250250 if (dlci > MAX_TERMINALS_NUM || (frame_header[1 ] & 0x01 ) == 0 ||
251- (((type & FT_UIH) != FT_UIH) && type != (FT_UA | PF) ) ) {
251+ (((type & FT_UIH) != FT_UIH) && type != (FT_UA | PF)) ) {
252252 recover_protocol (protocol_mismatch_reason::UNEXPECTED_HEADER);
253253 return true ;
254254 }
@@ -327,7 +327,7 @@ bool CMux::on_cmux_data(uint8_t *data, size_t actual_len)
327327 auto data_end = buffer.get () + buffer.size ;
328328 data_to_read = payload_len + 2 ; // 2 -- CMUX protocol footer
329329 if (data + data_to_read >= data_end) {
330- ESP_LOGW (" CUMX " , " Failed to defragment longer payload (payload=%" PRIsize_t " )" , payload_len);
330+ ESP_LOGW (" CMUX " , " Failed to defragment longer payload (payload=%" PRIsize_t " )" , payload_len);
331331 // If you experience this error, your device uses longer payloads while
332332 // the configured buffer is too small to defragment the payload properly.
333333 // To resolve this issue you can:
You can’t perform that action at this time.
0 commit comments