make clanker happy
This commit is contained in:
@@ -109,11 +109,15 @@ public:
|
|||||||
|
|
||||||
// DATA
|
// DATA
|
||||||
if ((((h->frame_control) >> 2) & 63) == 2) {
|
if ((((h->frame_control) >> 2) & 63) == 2) {
|
||||||
|
if (frame_len >= 24) {
|
||||||
print_ascii(frame + 24, frame_len - 24);
|
print_ascii(frame + 24, frame_len - 24);
|
||||||
|
}
|
||||||
// QoS Data
|
// QoS Data
|
||||||
} else if ((((h->frame_control) >> 2) & 63) == 34) {
|
} else if ((((h->frame_control) >> 2) & 63) == 34) {
|
||||||
|
if (frame_len >= 26) {
|
||||||
print_ascii(frame + 26, frame_len - 26);
|
print_ascii(frame + 26, frame_len - 26);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
message_port_pub(pmt::mp("out"), pmt::cons(d_meta, d_msg));
|
message_port_pub(pmt::mp("out"), pmt::cons(d_meta, d_msg));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user