Fixes #2595 - Cli added
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?
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#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_
|
||||
Reference in New Issue
Block a user