Force sx12xx modems into sleep mode on boot. This is the default state of the modem when not being used due to the TX/RX complete callbacks. This reduces current consumption by 600uA before the modems are used for the first time. As sleep is the normal state after TX/RX when using the LoRa API, it is garaunteed that this will not change the behaviour of application code. LoRaWAN starts by calling Radio.Init(), which resets the modem, so any sleep configuration we do here is discarded. Fixes #31567. Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| hal_common.c | ||
| Kconfig | ||
| Kconfig.sx12xx | ||
| shell.c | ||
| sx12xx_common.c | ||
| sx12xx_common.h | ||
| sx126x.c | ||
| sx1276.c | ||