lmic_config.h: bugfix pycom boards
This commit is contained in:
parent
2d45c599bd
commit
67cede2886
@ -17,8 +17,10 @@
|
|||||||
// --> adapt to your device only if necessary
|
// --> adapt to your device only if necessary
|
||||||
|
|
||||||
// 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 and separate GPIO pins on your board, if not don't enable
|
||||||
|
#if (LORA_IRQ) != (LORA_IO1)
|
||||||
#define LMIC_USE_INTERRUPTS 1
|
#define LMIC_USE_INTERRUPTS 1
|
||||||
|
#endif
|
||||||
|
|
||||||
// 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
|
||||||
|
Loading…
Reference in New Issue
Block a user