Merge pull request #23 from oseiler2/master

Add correct sub band for AU915 region
This commit is contained in:
Kyle Gabriel 2020-08-20 14:48:59 -04:00 committed by GitHub
commit af94073022
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -186,6 +186,12 @@ void ttn_join() {
// https://github.com/TheThingsNetwork/gateway-conf/blob/master/US-global_conf.json
LMIC_selectSubBand(1);
#elif defined(CFG_au915)
// set sub band for AU915
// https://github.com/TheThingsNetwork/gateway-conf/blob/master/AU-global_conf.json
LMIC_selectSubBand(1);
#endif
// TTN defines an additional channel at 869.525Mhz using SF9 for class B