Skip to content

Commit

Permalink
phy: Enhance package scan logging by printing mark-byte
Browse files Browse the repository at this point in the history
Signed-off-by: Siddharth Chandrasekaran <[email protected]>
  • Loading branch information
sidcha committed Mar 28, 2024
1 parent da02bcc commit bd15c2b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/osdp_phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -518,8 +518,9 @@ int osdp_phy_check_packet(struct osdp_pd *pd)
}
pd->packet_len = ret;
if (pd->packet_scan_skip) {
LOG_WRN("Packet scan skipped %u bytes before SoM",
pd->packet_scan_skip);
LOG_WRN("Packet scan skipped:%u mark:%d",
pd->packet_scan_skip,
ISSET_FLAG(pd, PD_FLAG_PKT_HAS_MARK));
pd->packet_scan_skip = 0;
}
}
Expand Down

0 comments on commit bd15c2b

Please sign in to comment.