Frame size increased to ethernet-compliant MTU

This commit is contained in:
Mark Qvist 2019-01-07 12:09:41 +01:00
parent 79aa4620ba
commit 3f5af2b26b
3 changed files with 4 additions and 11 deletions

View file

@ -6,12 +6,9 @@
#include "device.h"
#include "hardware/AFSK.h"
#define AX25_MIN_FRAME_LEN 18
#ifndef CUSTOM_FRAME_SIZE
#define AX25_MAX_FRAME_LEN 792
#else
#define AX25_MAX_FRAME_LEN CUSTOM_FRAME_SIZE
#endif
#define AX25_MIN_FRAME_LEN 1
#define AX25_MAX_FRAME_LEN 1532
#define AX25_CRC_CORRECT 0xF0B8