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

Alexandre Abadie notifications at github.com
Fri Apr 12 10:27:35 CEST 2019


aabadie 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 }

Yes that was the alternative solution I proposed in the initial comment of this PR. If it's ok for you I can drop it no problem :)

-- 
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#discussion_r274807874
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190412/95e358dd/attachment.html>


More information about the notifications mailing list