Various fixes

This commit is contained in:
Mark Qvist 2014-12-19 00:50:14 +01:00
parent ef36e43e96
commit a4ce3fca41
5 changed files with 15 additions and 7 deletions

View file

@ -61,6 +61,9 @@ void ax25_poll(AX25Ctx *ctx) {
if (!ctx->escape && c == HDLC_FLAG) {
if (ctx->frame_len >= AX25_MIN_FRAME_LEN) {
if (ctx->crc_in == AX25_CRC_CORRECT) {
#if OPEN_SQUELCH == true
LED_RX_ON();
#endif
ax25_decode(ctx);
}
}