Skip to content

Commit

Permalink
WKP pin should not be enabled as a wakeup source unconditionally for …
Browse files Browse the repository at this point in the history
…STOP mode on STM32F2
  • Loading branch information
avtolstoy committed Apr 8, 2016
1 parent e56a3f1 commit cfbb226
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions hal/src/stm32f2xx/core_hal_stm32f2xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -480,9 +480,6 @@ void HAL_Core_Enter_Stop_Mode(uint16_t wakeUpPin, uint16_t edgeTriggerMode, long

void HAL_Core_Execute_Stop_Mode(void)
{
/* Enable WKUP pin */
PWR_WakeUpPinCmd(ENABLE);

/* Request to enter STOP mode with regulator in low power mode */
PWR_EnterSTOPMode(PWR_Regulator_LowPower, PWR_STOPEntry_WFI);

Expand Down

0 comments on commit cfbb226

Please sign in to comment.