TSCH: define SYNC_IE_BOUND from timing in use rather than default
This commit is contained in:
parent
423412d99c
commit
3ba1b43bd9
|
@ -94,7 +94,7 @@
|
|||
|
||||
/* Truncate received drift correction information to maximum half
|
||||
* of the guard time (one fourth of TSCH_DEFAULT_TS_RX_WAIT) */
|
||||
#define SYNC_IE_BOUND ((int32_t)US_TO_RTIMERTICKS(TSCH_DEFAULT_TS_RX_WAIT / 4))
|
||||
#define SYNC_IE_BOUND ((int32_t)US_TO_RTIMERTICKS(tsch_timing_us[tsch_ts_rx_wait] / 4))
|
||||
|
||||
/* By default: check that rtimer runs at >=32kHz and use a guard time of 10us */
|
||||
#if RTIMER_SECOND < (32 * 1024)
|
||||
|
|
Loading…
Reference in New Issue