2018-10-31 18:57:21 +00:00
|
|
|
#include <Arduino.h>
|
2018-10-20 11:28:32 +00:00
|
|
|
class CProtocol;
|
2018-10-20 07:11:23 +00:00
|
|
|
|
|
|
|
#if defined(__arm__)
|
|
|
|
// Typically Arduino Due
|
|
|
|
static UARTClass& DebugPort(Serial);
|
|
|
|
#else
|
|
|
|
static HardwareSerial& DebugPort(Serial); // reference Serial as DebugPort
|
2018-10-20 11:28:32 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
void DebugReportFrame(const char* hdr, const CProtocol& Frame, const char* ftr);
|
|
|
|
|