diff --git a/Source/system/gpio.c b/Source/system/gpio.c --- a/Source/system/gpio.c +++ b/Source/system/gpio.c @@ -30,6 +30,13 @@ void gpio_init(void) GPIO_InitStruct.Speed = GPIO_SPEED_LOW; HAL_GPIO_Init(PORT_LED_POWER, &GPIO_InitStruct); + GPIO_InitStruct.Pin = GPS_NOTEN_PIN; + GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP; + GPIO_InitStruct.Pull = GPIO_NOPULL; + GPIO_InitStruct.Speed = GPIO_SPEED_LOW; + HAL_GPIO_Init(GPS_NOTEN_PORT, &GPIO_InitStruct); + HAL_GPIO_WritePin(GPS_NOTEN, 1); // yes, keep the chip disabled + // Toggle the power LED HAL_GPIO_TogglePin(LED_POWER);