mirror of
https://github.com/markqvist/MicroModemGP
synced 2026-08-12 17:40:37 -04:00
Adjust packet size
This commit is contained in:
parent
5fd79a3e82
commit
1a2fcce149
2 changed files with 2 additions and 2 deletions
2
device.h
2
device.h
|
|
@ -23,7 +23,7 @@
|
|||
// Serial settings
|
||||
#define BAUD 9600
|
||||
#define SERIAL_DEBUG false
|
||||
#define TX_MAXWAIT 2UL
|
||||
#define TX_MAXWAIT 5UL
|
||||
|
||||
// Port settings
|
||||
#if TARGET_CPU == m328p
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
#define LLP_INTERLEAVE_SIZE 12
|
||||
#define LLP_MIN_FRAME_LENGTH LLP_INTERLEAVE_SIZE
|
||||
#define LLP_MAX_FRAME_LENGTH 67 * LLP_INTERLEAVE_SIZE
|
||||
#define LLP_MAX_FRAME_LENGTH 68 * LLP_INTERLEAVE_SIZE
|
||||
#define LLP_HEADER_SIZE 10
|
||||
#define LLP_CHECKSUM_SIZE 2
|
||||
#define LLP_MAX_DATA_SIZE LLP_MAX_FRAME_LENGTH - LLP_HEADER_SIZE - LLP_CHECKSUM_SIZE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue