diff options
| author | Jeff Hatch <jhatch@multitech.com> | 2020-05-18 12:14:46 -0500 |
|---|---|---|
| committer | Serhii Kostiuk <serhii.o.kostiuk@globallogic.com> | 2020-05-21 11:01:26 +0300 |
| commit | f669783eba95a8b31776580e4e336678e0f474d9 (patch) | |
| tree | 0c95f5bdb15b2bef173cbdb5b64a3cdfd434fc59 /recipes-connectivity/lora/lora-basic-station/lora-basic-station-disable-device-mode.patch | |
| parent | 0bddc1c82986fb8eb8ed8cab8ff1368274494765 (diff) | |
| parent | d252c15795b1da269e6144a75e07edb23a9a0fd5 (diff) | |
| download | meta-mlinux-f669783eba95a8b31776580e4e336678e0f474d9.tar.gz meta-mlinux-f669783eba95a8b31776580e4e336678e0f474d9.tar.bz2 meta-mlinux-f669783eba95a8b31776580e4e336678e0f474d9.zip | |
Merge branch 'ap/sync_up_with_master' into multiarch5-thud
Diffstat (limited to 'recipes-connectivity/lora/lora-basic-station/lora-basic-station-disable-device-mode.patch')
| -rw-r--r-- | recipes-connectivity/lora/lora-basic-station/lora-basic-station-disable-device-mode.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes-connectivity/lora/lora-basic-station/lora-basic-station-disable-device-mode.patch b/recipes-connectivity/lora/lora-basic-station/lora-basic-station-disable-device-mode.patch new file mode 100644 index 0000000..d81d041 --- /dev/null +++ b/recipes-connectivity/lora/lora-basic-station/lora-basic-station-disable-device-mode.patch @@ -0,0 +1,15 @@ +diff --git a/src/sx1301conf.c b/src/sx1301conf.c +index bca649c..c2681a4 100644 +--- a/src/sx1301conf.c ++++ b/src/sx1301conf.c +@@ -433,7 +433,10 @@ int sx1301conf_start (struct sx1301conf* sx1301conf, u4_t cca_region) { + } + + LOG(MOD_RAL|INFO, "Station device: %s (PPS capture %sabled)", sx1301conf->device, sx1301conf->pps ? "en":"dis"); ++ ++#ifndef CFG_prod + lgwx_device_mode = sys_deviceMode; ++#endif + int err = lgw_start(); + if( err == LGW_HAL_SUCCESS ) { + lgw_reg_w(LGW_GPS_EN, sx1301conf->pps ? 1 : 0); |
