#define LINE_LEN 80
char line[LINE_LEN]; /* space needed 8+16*3+3+16 == 75 */
- printf_P(PSTR("%s at [%p], len=%d\n"), title, data, len);
+ printf_P(PSTR("%s at [%p], len=%d\r\n"), title, data, len);
ofs = 0;
while (ofs < len) {
/* format 1 line in the buffer, then use printk to print them */
cmdline_init();
#ifndef USE_USB
/* in usb mode, it's done in usb callback */
+ printf_P(PSTR("\r\n"));
rdline_newline(&xbeeboard.rdl, xbeeboard.prompt);
#endif
callout_manager_init(&cm, get_time_ms);