LMIC: use interrupts to improve timing accuracy

This commit is contained in:
Verkehrsrot 2019-09-01 22:50:24 +02:00
parent b97361ca8c
commit 9b925ee47b

View File

@ -21,10 +21,7 @@
// use interrupts only if LORA_IRQ and LORA_DIO are connected to interrupt // use interrupts only if LORA_IRQ and LORA_DIO are connected to interrupt
// capable GPIO pins on your board, if not disable interrupts // capable GPIO pins on your board, if not disable interrupts
//#define LMIC_USE_INTERRUPTS 1 #define LMIC_USE_INTERRUPTS 1
// needed for paxcounter code
#define LMIC_ENABLE_user_events 1
// time sync via LoRaWAN network, note: not supported by TTNv2 // time sync via LoRaWAN network, note: not supported by TTNv2
// #define LMIC_ENABLE_DeviceTimeReq 1 // #define LMIC_ENABLE_DeviceTimeReq 1