Skip to content

Commit

Permalink
compare to MESHTASTIC_HEADER_LENGTH
Browse files Browse the repository at this point in the history
  • Loading branch information
caveman99 authored Sep 23, 2024
1 parent ab6d009 commit 7181663
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mesh/RadioInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ void printPacket(const char *prefix, const meshtastic_MeshPacket *p)

RadioInterface::RadioInterface()
{
assert(sizeof(PacketHeader) == 16); // make sure the compiler did what we expected
assert(sizeof(PacketHeader) == MESHTASTIC_HEADER_LENGTH); // make sure the compiler did what we expected
}

bool RadioInterface::reconfigure()
Expand Down

0 comments on commit 7181663

Please sign in to comment.