Make b3 const

This commit is contained in:
Allen Hill
2026-07-21 12:51:18 -07:00
parent 56936aed10
commit 8950bd6917
+3 -3
View File
@@ -100,9 +100,9 @@ public:
const uint8_t b0 = *data++;
const uint8_t b1 = *data++;
const uint8_t b2 = *data++;
uint8_t b3 = 0;
if (in.length > 3) // the shortest known/valid messages are 3 bytes long
b3 = *data++;
// the shortest known/valid messages are 3 bytes long
const uint8_t b3 = (in.length > 3) ? *data++ : 0;
if (!in.is_unicast) {
const auto from = b0;