From 6334c93b380b48e416202bdce99d37ef061f416a Mon Sep 17 00:00:00 2001 From: Kyle Gabriel Date: Wed, 28 Aug 2019 19:08:13 -0400 Subject: [PATCH] Add LMIC_setClockError (#4) --- main/ttn.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/main/ttn.ino b/main/ttn.ino index 31472cb..3ebeae2 100644 --- a/main/ttn.ino +++ b/main/ttn.ino @@ -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