add printPacket for debug printing packets

This commit is contained in:
geeksville
2020-06-14 15:30:42 -07:00
parent 2c8d152885
commit aadba1f694
11 changed files with 77 additions and 17 deletions

View File

@@ -162,3 +162,6 @@ class SimRadio : public RadioInterface
/// \return true if initialisation succeeded.
virtual bool init() { return true; }
};
/// Debug printing for packets
void printPacket(const char *prefix, const MeshPacket *p);