Add LMIC_setClockError (#4)

This commit is contained in:
Kyle Gabriel 2019-08-28 19:08:13 -04:00
parent b7f3b809f2
commit 6334c93b38

View File

@ -116,6 +116,7 @@ bool ttn_setup() {
void ttn_join() {
// Reset the MAC state. Session and pending data transfers will be discarded.
LMIC_reset();
LMIC_setClockError(MAX_CLOCK_ERROR * 5 / 100);
#ifdef USE_ABP