X-Git-Url: http://git.droids-corp.org/?p=protos%2Fxbee-avr.git;a=blobdiff_plain;f=commands.c;fp=commands.c;h=68c0c6bf150cfbedbe7d47c3037ced5b22ead467;hp=f525e5fc56fef387cb450532d0031859b537c6b3;hb=bdfd2cee44033c3fd22d3091de815f235271e765;hpb=aa02020a5c5dc7091a6c20d831d82521f8e0499e diff --git a/commands.c b/commands.c index f525e5f..68c0c6b 100644 --- a/commands.c +++ b/commands.c @@ -175,9 +175,9 @@ static int8_t dump_xbee_atresp_cb(int8_t retcode, void *frame, unsigned len, memcpy(atcmd_str, &recvframe->cmd, 2); atcmd_str[2] = '\0'; + atresp_to_str(buf, sizeof(buf), frame, len); len -= sizeof(*recvframe); - atresp_to_str(buf, sizeof(buf), frame); - NOTICE(E_USER_XBEE, "status ok, len=%d, %s", len, buf); + printf_P(PSTR("status ok, len=%d, %s\n"), len, buf); return XBEE_USER_RETCODE_OK; }