Add LMIC_setClockError (#4)
This commit is contained in:
parent
b7f3b809f2
commit
6334c93b38
@ -116,6 +116,7 @@ bool ttn_setup() {
|
|||||||
void ttn_join() {
|
void ttn_join() {
|
||||||
// Reset the MAC state. Session and pending data transfers will be discarded.
|
// Reset the MAC state. Session and pending data transfers will be discarded.
|
||||||
LMIC_reset();
|
LMIC_reset();
|
||||||
|
LMIC_setClockError(MAX_CLOCK_ERROR * 5 / 100);
|
||||||
|
|
||||||
#ifdef USE_ABP
|
#ifdef USE_ABP
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user