From 9b925ee47b33132909c6d6324c86db62c0cee178 Mon Sep 17 00:00:00 2001 From: Verkehrsrot Date: Sun, 1 Sep 2019 22:50:24 +0200 Subject: [PATCH] LMIC: use interrupts to improve timing accuracy --- src/lmic_config.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/lmic_config.h b/src/lmic_config.h index fb6fc771..0f1f426b 100644 --- a/src/lmic_config.h +++ b/src/lmic_config.h @@ -21,10 +21,7 @@ // use interrupts only if LORA_IRQ and LORA_DIO are connected to interrupt // capable GPIO pins on your board, if not disable interrupts -//#define LMIC_USE_INTERRUPTS 1 - -// needed for paxcounter code -#define LMIC_ENABLE_user_events 1 +#define LMIC_USE_INTERRUPTS 1 // time sync via LoRaWAN network, note: not supported by TTNv2 // #define LMIC_ENABLE_DeviceTimeReq 1