@@ -350,8 +350,8 @@ static void MX_GPIO_Init(void)
|
||||
|
||||
/*Configure GPIO pin : SW_C_Pin */
|
||||
GPIO_InitStruct.Pin = SW_C_Pin;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_IT_RISING;
|
||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
|
||||
GPIO_InitStruct.Pull = GPIO_PULLUP;
|
||||
HAL_GPIO_Init(SW_C_GPIO_Port, &GPIO_InitStruct);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user