FIX: Allow setting of EOPR_TIMEOUT from pio.ini

This commit is contained in:
Waldemar Porscha 2023-06-30 21:23:44 +02:00
parent f8bd27b4b5
commit 09985ea793

View File

@ -97,7 +97,9 @@ enum {
};
#define EOP_TIMEOUT 2 //milli seconds; end of layer-2 packet gap
#ifndef EOPR_TIMEOUT // allow to set EOPR_TIMEOUT externally
#define EOPR_TIMEOUT 8 //ms; relaxed EOP timeout; usally to trigger after NAK
#endif
#define CONFIRM_TIMEOUT 500 //milli seconds
#define RESET_TIMEOUT 100 //milli seconds
#define TX_TIMEPAUSE 0 // 0 means 1 milli seconds