Skip to content

Commit

Permalink
Bugfix for unknown telegram on LPB with increasing message type
Browse files Browse the repository at this point in the history
  • Loading branch information
fredlcore committed May 15, 2024
1 parent 5ded3d5 commit 99d2453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BSB_LAN/BSB_LAN.ino
Original file line number Diff line number Diff line change
Expand Up @@ -1618,7 +1618,7 @@ void SerialPrintData(byte* msg) {
byte offset = 0;
byte msg_type = msg[4+(bus->getBusType()*4)];
if (bus_type != BUS_PPS) {
if (msg_type >= 0x12) {
if (msg_type >= 0x12 && msg_tye <= 0x15) {
offset = 4;
}
}
Expand Down

0 comments on commit 99d2453

Please sign in to comment.