Adjust packet size

This commit is contained in:
Mark Qvist 2015-05-21 10:49:09 +02:00
parent 5fd79a3e82
commit 1a2fcce149
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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