Skip to content
Snippets Groups Projects
Commit 5e679867 authored by Vincent Dupont's avatar Vincent Dupont
Browse files

cpu/stm32_common/pm: use CPU_LINE for L053-specific code

parent 4aadc1ed
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,7 @@ void pm_set(unsigned mode)
/* Enable WKUP pin to use for wakeup from standby mode */
#if defined(CPU_FAM_STM32L0)
PWR->CSR |= (PWR_CSR_EWUP1 | PWR_CSR_EWUP2);
#if !defined(CPU_MODEL_STM32L053R8)
#if !defined(CPU_LINE_STM32L053xx)
/* STM32L053 only have 2 wake pins */
PWR->CSR |= PWR_CSR_EWUP3;
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment