Skip to content

Commit 97fad97

Browse files
committed
bump nRFCrypto, log clean up
1 parent 3995b42 commit 97fad97

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cores/nRF5/common_func.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ const char* dbg_err_str(int32_t err_id); // TODO move to other place
184184
#define PRINT_HEX(x) \
185185
do {\
186186
PRINTF("%s: %d: " #x " = 0x", __PRETTY_FUNCTION__, __LINE__);\
187-
char fmt[] = "%00X\n";\
187+
char fmt[] = "%00X\r\n";\
188188
fmt[2] += 2*sizeof(x); /* Hex with correct size */\
189189
PRINTF(fmt, (x) );\
190190
}while(0)
@@ -197,14 +197,14 @@ const char* dbg_err_str(int32_t err_id); // TODO move to other place
197197
if (i%16 == 0) PRINTF("\n"); \
198198
PRINTF("%02x ", p8[i]); \
199199
}\
200-
PRINTF("\n");\
200+
PRINTF("\r\n");\
201201
}while(0)
202202

203203
#define ADALOG(tag, ...) \
204204
do { \
205205
if ( tag ) PRINTF("[%-6s] ", tag);\
206206
PRINTF(__VA_ARGS__);\
207-
PRINTF("\n");\
207+
PRINTF("\r\n");\
208208
}while(0)
209209

210210
#define ADALOG_BUFFER(_tag, _buf, _n) \

0 commit comments

Comments
 (0)