[riot-notifications] [RIOT-OS/RIOT] cpu/stm32: centralize PM_BLOCKER_INITIAL define (#11383)

Kaspar Schleiser notifications at github.com
Fri Apr 12 09:33:54 CEST 2019


kaspar030 commented on this pull request.



> @@ -91,6 +91,14 @@ extern "C" {
 #define STM32_PM_STANDBY      (0U)
 /** @} */
 
+#ifndef PM_BLOCKER_INITIAL
+/**
+ * @brief   Default initial PM blocker
+ * @todo    All modes are blocked per default, until PM is cleanly implemented
+ */
+#define PM_BLOCKER_INITIAL  { .val_u32 = 0x01010101 }

this is now identical as in ```sys/pm_layered/pm.c```. Should we just drop it?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11383#pullrequestreview-225933218
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190412/84a9dacc/attachment.html>


More information about the notifications mailing list