diff Small_CPU/Src/gpio.c @ 947:96cf6c53c934 Evo_2_23

GNSS sleep mode: Backup voltage is now enabled during initialization. Power saving interval has been changed to 20 second active in a 60 minutes cycle.
author Ideenmodellierer
date Sun, 22 Dec 2024 21:14:41 +0100
parents df87dbfc9c21
children
line wrap: on
line diff
--- a/Small_CPU/Src/gpio.c	Sun Dec 22 20:52:08 2024 +0100
+++ b/Small_CPU/Src/gpio.c	Sun Dec 22 21:14:41 2024 +0100
@@ -75,7 +75,7 @@
 	GPIO_InitStructure.Pull = GPIO_PULLDOWN;
 	GPIO_InitStructure.Speed = GPIO_SPEED_LOW;
 	HAL_GPIO_Init( GPIOB, &GPIO_InitStructure);
-	HAL_GPIO_WritePin( GPIOB, GPS_BCKP_CONTROL_PIN, GPIO_PIN_RESET);
+	HAL_GPIO_WritePin( GPIOB, GPS_BCKP_CONTROL_PIN, GPIO_PIN_SET);
 }
 
 void GPIO_Power_MainCPU_Init(void) {