diff --git a/examples/corecell/reset_lgw.sh b/examples/corecell/reset_lgw.sh index 7732c24..f3c44dc 100755 --- a/examples/corecell/reset_lgw.sh +++ b/examples/corecell/reset_lgw.sh @@ -12,7 +12,7 @@ # SX1302_RESET_PIN=${GW_RESET_GPIO:-17} -SX1302_POWER_EN_PIN=${GW_RESET_GPIO:-18} +SX1302_POWER_EN_PIN=${GW_POWER_EN_GPIO:-18} WAIT_GPIO() { sleep 0.1 diff --git a/start_sx1302.sh b/start_sx1302.sh index 8ae6102..c244d17 100755 --- a/start_sx1302.sh +++ b/start_sx1302.sh @@ -15,5 +15,6 @@ fi # Set other environment variables export GW_RESET_GPIO=$GW_RESET_GPIO +export GW_POWER_EN_GPIO=$GW_POWER_EN_GPIO ./start-station.sh -l ./lns-ttn