This commit is contained in:
hathach committed 2017-03-04 02:19:32 +07:00
1 parent 1c055970c5
commit fd85800d88
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -112,9 +112,9 @@ int cprintf(const char * format, ...);
#define PRINT_BUFFER(buf, n) \
do {\
uint8_t const* p8 = (uint8_t const*) (buf);\
Serial.print(#buf ": ");\
cprintf(#buf ": ");\
for(uint32_t i=0; i<(n); i++) cprintf("%02x ", p8[i]);\
Serial.println();\
cprintf("\n");\
}while(0)
#else
+1 -1
View File
@@ -16,7 +16,7 @@
#define ARDUINO_MAIN
#include "Arduino.h"
#define MEMINFO_INTERVAL 10000
#define MEMINFO_INTERVAL 30000
// Weak empty variant initialization function.
// May be redefined by variant files.