From a4d2494614f13eef617e4c8aa93b085238d17450 Mon Sep 17 00:00:00 2001 From: Terry Moore Date: Sun, 8 Sep 2019 23:21:27 -0400 Subject: [PATCH] Fix #435: correct spelling error LMICbandplan_txDoneFSK --- src/lmic/lmic_bandplan_as923.h | 3 ++- src/lmic/lmic_bandplan_eu868.h | 3 ++- src/lmic/lmic_bandplan_in866.h | 3 ++- src/lmic/lmic_bandplan_kr920.h | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) 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)