Adding Jonathan G4KLX run-time debugging option

This commit is contained in:
Andy CA6JAU 2017-06-26 11:10:15 -04:00
parent 3c42d2e2ef
commit cce03a4d2f
11 changed files with 22 additions and 67 deletions

View file

@ -50,12 +50,11 @@ public:
void writeDebug(const char* text, int16_t n1, int16_t n2, int16_t n3);
void writeDebug(const char* text, int16_t n1, int16_t n2, int16_t n3, int16_t n4);
void writeAssert(bool cond, const char* text, const char* file, long line);
private:
uint8_t m_buffer[256U];
uint8_t m_ptr;
uint8_t m_len;
bool m_debug;
void sendACK();
void sendNAK(uint8_t err);