summaryrefslogtreecommitdiff
path: root/nuttx/configs/vsn/src/power.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/vsn/src/power.c')
-rw-r--r--nuttx/configs/vsn/src/power.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/configs/vsn/src/power.c b/nuttx/configs/vsn/src/power.c
index c7c73448a..2e5ed1d13 100644
--- a/nuttx/configs/vsn/src/power.c
+++ b/nuttx/configs/vsn/src/power.c
@@ -81,11 +81,11 @@ void board_power_off(void)
// \todo
- // stop backgorund processes
+ // stop background processes
irqsave();
// switch to internal HSI and get the PD0 and PD1 as GPIO
- stm32_board_select_hsi();
+ sysclock_select_hsi();
// trigger shutdown with pull-up resistor (not push-pull!) and wait.
stm32_gpiowrite(GPIO_PCLR, true);