1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #20883 from maribu/examples/lorawan/bugfix

examples/lorawan: drop crazy STM32 hack
This commit is contained in:
benpicco 2024-10-01 13:55:28 +00:00 committed by GitHub
commit 068db8bbe6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -131,16 +131,6 @@ int main(void)
puts("LoRaWAN Class A low-power application");
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 */
/* Convert identifiers and keys strings to byte arrays */
fmt_hex_bytes(deveui, CONFIG_LORAMAC_DEV_EUI_DEFAULT);