Skip to content

Commit

Permalink
Merge pull request #20883 from maribu/examples/lorawan/bugfix
Browse files Browse the repository at this point in the history
examples/lorawan: drop crazy STM32 hack
  • Loading branch information
benpicco authored Oct 1, 2024
2 parents 541ef69 + 4b6ad3b commit 068db8b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions examples/lorawan/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 068db8b

Please sign in to comment.