Reformat; add better algorithm to find bits.
[bertos.git] / bertos / net / ax25.c
index c698edc697e808ab2f9994b250b2f62375f5962a..968e387f477815d1f2bf1f1f1b42cffe18e4eea4 100644 (file)
@@ -42,7 +42,6 @@
 #include "ax25.h"
 #include "cfg/cfg_ax25.h"
 
-#include <drv/afsk.h>
 #include <algo/crc_ccitt.h>
 
 #define LOG_LEVEL  AX25_LOG_LEVEL
@@ -107,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);
@@ -121,7 +120,6 @@ void ax25_poll(AX25Ctx *ctx)
        {
                if (!ctx->escape && c == HDLC_FLAG)
                {
-                       LOG_INFO("Frame start\n");
                        if (ctx->frm_len >= AX25_MIN_FRAME_LEN)
                        {
                                if (ctx->crc_in == AX25_CRC_CORRECT)