projects
/
bertos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6af05b
)
Reformat debug messages.
author
batt
<batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Sat, 3 Oct 2009 12:54:13 +0000
(12:54 +0000)
committer
batt
<batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Sat, 3 Oct 2009 12:54:13 +0000
(12:54 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3006
38d2e660
-2303-0410-9eaa-
f027e97ec537
bertos/net/ax25.c
patch
|
blob
|
history
diff --git
a/bertos/net/ax25.c
b/bertos/net/ax25.c
index 19e63a204e9aab09f557493e54adbbc1feca9336..968e387f477815d1f2bf1f1f1b42cffe18e4eea4 100644
(file)
--- a/
bertos/net/ax25.c
+++ b/
bertos/net/ax25.c
@@
-106,7
+106,7
@@
static void ax25_decode(AX25Ctx *ctx)
msg.len = ctx->frm_len - 2 - (buf - ctx->buf);
msg.info = buf;
- LOG_INFO("DATA
[%.*s]
\n", msg.len, msg.info);
+ LOG_INFO("DATA
: %.*s
\n", msg.len, msg.info);
if (ctx->hook)
ctx->hook(&msg);
@@
-120,7
+120,6
@@
void ax25_poll(AX25Ctx *ctx)
{
if (!ctx->escape && c == HDLC_FLAG)
{
- LOG_INFO("Frame start, frm_len %d\n", ctx->frm_len);
if (ctx->frm_len >= AX25_MIN_FRAME_LEN)
{
if (ctx->crc_in == AX25_CRC_CORRECT)