Set debugging on a per-file basis.

This commit is contained in:
Jonathan Naylor 2016-03-14 20:24:51 +00:00
parent 7d77f20ee9
commit 037f60ea06
10 changed files with 35 additions and 33 deletions

View file

@ -44,16 +44,17 @@ public:
void writeCalData(const uint8_t* data, uint8_t length);
#if defined(WANT_DEBUG)
void writeDump(const uint8_t* data, uint8_t length);
void writeSamples(const q15_t* data, uint8_t length);
void writeDebug(const char* text);
void writeDebug(const char* text, int16_t n1);
void writeDebug(const char* text, int16_t n1, int16_t n2);
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);
#endif
private:
#if defined(__MBED__)