Open m0rphex opened 7 years ago
I'm using PlatformIO, needed to include lmic.h in hal.h to get lmic_pinmap struct to work.
#include "../lmic.h" #ifndef _hal_hal_h_ #define _hal_hal_h_ static const int NUM_DIO = 3; struct lmic_pinmap { u1_t nss; u1_t rxtx; u1_t rst; u1_t dio[NUM_DIO]; };
Good point, I'll have a closer look later.
Keep up the good work, your lib is very useful!
I'm using PlatformIO, needed to include lmic.h in hal.h to get lmic_pinmap struct to work.