Based on projectkk2glider work, with a lot of bugs I am sure. Still not tested, this is why I preferred working on my own branch. I push it now so that Jenkins do the first tests and you can review if I am on the right track. I am really wondering if a merge with the Lua api would be possible / nice, what do you think?
14 lines
287 B
C
14 lines
287 B
C
#ifndef _DUMP_H_
|
|
#define _DUMP_H_
|
|
|
|
#if defined(DEBUG) || defined(CLI)
|
|
void dumpStart(unsigned int size);
|
|
void dumpBody(const uint8_t * data, unsigned int size);
|
|
void dumpEnd();
|
|
void dump(const uint8_t * data, unsigned int size);
|
|
#else
|
|
#define dump(data, size)
|
|
#endif
|
|
|
|
#endif // _DUMP_H_
|