mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-21 21:22:31 +03:00
Fix an error when including debug.h from C
This commit is contained in:
@ -5,7 +5,10 @@
|
|||||||
// #define DEBUGV(...) ets_printf(__VA_ARGS__)
|
// #define DEBUGV(...) ets_printf(__VA_ARGS__)
|
||||||
#define DEBUGV(...)
|
#define DEBUGV(...)
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
void hexdump(uint8_t *mem, uint32_t len, uint8_t cols = 16);
|
void hexdump(uint8_t *mem, uint32_t len, uint8_t cols = 16);
|
||||||
|
#else
|
||||||
|
void hexdump(uint8_t *mem, uint32_t len, uint8_t cols);
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif//ARD_DEBUG_H
|
#endif//ARD_DEBUG_H
|
||||||
|
Reference in New Issue
Block a user