diff --git a/LICENSE b/LICENSE index 6145f231..82a5eca3 100644 --- a/LICENSE +++ b/LICENSE @@ -217,6 +217,11 @@ Arduino-LMIC Library TTN OTAA Example https://github.com/matthijskooijman/arduino-lmic/blob/master/examples/ttn-otaa/ +and it's fork + +LoraWAN-in-C library, adapted to run under the Arduino environment +https://github.com/jpmeijers/arduino-lmic + under this Licence: "License diff --git a/src/main.cpp b/src/main.cpp index 516d0c93..87f005b8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -100,7 +100,7 @@ void os_getDevEui (u1_t* buf) { } // LMIC enhanced Pin mapping -const lmic_pinmap lmic_pins = { +extern const lmic_pinmap lmic_pins = { .mosi = PIN_SPI_MOSI, .miso = PIN_SPI_MISO, .sck = PIN_SPI_SCK,