git.droids-corp.org
/
protos
/
xbee-avr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix xbee_user after rework (e39c5d5)
[protos/xbee-avr.git]
/
commands.c
diff --git
a/commands.c
b/commands.c
index
f525e5f
..
68c0c6b
100644
(file)
--- 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';
memcpy(atcmd_str, &recvframe->cmd, 2);
atcmd_str[2] = '\0';
+ atresp_to_str(buf, sizeof(buf), frame, len);
len -= sizeof(*recvframe);
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;
}
return XBEE_USER_RETCODE_OK;
}