mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-23 21:43:51 +01:00
Merge pull request #20883 from maribu/examples/lorawan/bugfix
examples/lorawan: drop crazy STM32 hack
This commit is contained in:
commit
068db8bbe6
@ -131,16 +131,6 @@ int main(void)
|
|||||||
puts("LoRaWAN Class A low-power application");
|
puts("LoRaWAN Class A low-power application");
|
||||||
puts("=====================================");
|
puts("=====================================");
|
||||||
|
|
||||||
/*
|
|
||||||
* Enable deep sleep power mode (e.g. STOP mode on STM32) which
|
|
||||||
* in general provides RAM retention after wake-up.
|
|
||||||
*/
|
|
||||||
#if IS_USED(MODULE_PM_LAYERED)
|
|
||||||
for (unsigned i = 1; i < PM_NUM_MODES - 1; ++i) {
|
|
||||||
pm_unblock(i);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef USE_OTAA /* OTAA activation mode */
|
#ifdef USE_OTAA /* OTAA activation mode */
|
||||||
/* Convert identifiers and keys strings to byte arrays */
|
/* Convert identifiers and keys strings to byte arrays */
|
||||||
fmt_hex_bytes(deveui, CONFIG_LORAMAC_DEV_EUI_DEFAULT);
|
fmt_hex_bytes(deveui, CONFIG_LORAMAC_DEV_EUI_DEFAULT);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user