diff --git a/src/lmic/lmic_bandplan_as923.h b/src/lmic/lmic_bandplan_as923.h index 206d4a7d..4b4f7856 100644 --- a/src/lmic/lmic_bandplan_as923.h +++ b/src/lmic/lmic_bandplan_as923.h @@ -78,7 +78,8 @@ void LMICas923_init(void); void LMICas923_txDoneFSK(ostime_t delay, osjobcb_t func); -#define LMICbandplan_txDoneFsk(delay, func) LMICas923_txDoneFSK(delay, func) +#undef LMICbandplan_txDoneFSK +#define LMICbandplan_txDoneFSK(delay, func) LMICas923_txDoneFSK(delay, func) #define LMICbandplan_getInitialDrJoin() (AS923_DR_SF10) diff --git a/src/lmic/lmic_bandplan_eu868.h b/src/lmic/lmic_bandplan_eu868.h index 13417ecd..0770a0e1 100644 --- a/src/lmic/lmic_bandplan_eu868.h +++ b/src/lmic/lmic_bandplan_eu868.h @@ -65,7 +65,8 @@ LMICeu868_isValidBeacon1(const uint8_t *d) { void LMICeu868_txDoneFSK(ostime_t delay, osjobcb_t func); -#define LMICbandplan_txDoneFsk(delay, func) LMICeu868_txDoneFSK(delay, func) +#undef LMICbandplan_txDoneFSK +#define LMICbandplan_txDoneFSK(delay, func) LMICeu868_txDoneFSK(delay, func) #define LMICbandplan_getInitialDrJoin() (EU868_DR_SF7) diff --git a/src/lmic/lmic_bandplan_in866.h b/src/lmic/lmic_bandplan_in866.h index 9fc08264..2528dbf7 100644 --- a/src/lmic/lmic_bandplan_in866.h +++ b/src/lmic/lmic_bandplan_in866.h @@ -62,7 +62,8 @@ LMICin866_isValidBeacon1(const uint8_t *d) { void LMICin866_txDoneFSK(ostime_t delay, osjobcb_t func); -#define LMICbandplan_txDoneFsk(delay, func) LMICin866_txDoneFSK(delay, func) +#undef LMICbandplan_txDoneFSK +#define LMICbandplan_txDoneFSK(delay, func) LMICin866_txDoneFSK(delay, func) #define LMICbandplan_getInitialDrJoin() (IN866_DR_SF7) diff --git a/src/lmic/lmic_bandplan_kr920.h b/src/lmic/lmic_bandplan_kr920.h index 9a3d59a3..23a28ae3 100644 --- a/src/lmic/lmic_bandplan_kr920.h +++ b/src/lmic/lmic_bandplan_kr920.h @@ -65,7 +65,8 @@ LMICkr920_isValidBeacon1(const uint8_t *d) { void LMICkr920_txDoneFSK(ostime_t delay, osjobcb_t func); -#define LMICbandplan_txDoneFsk(delay, func) LMICkr920_txDoneFSK(delay, func) +#undef LMICbandplan_txDoneFSK +#define LMICbandplan_txDoneFSK(delay, func) LMICkr920_txDoneFSK(delay, func) #define LMICbandplan_getInitialDrJoin() (KR920_DR_SF7)