@@ -291,7 +291,7 @@ static void MX_GPIO_Init(void)
|
||||
|
||||
/*Configure GPIO pin : en_a_Pin */
|
||||
GPIO_InitStruct.Pin = en_a_Pin;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_IT_FALLING;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_IT_RISING;
|
||||
GPIO_InitStruct.Pull = GPIO_PULLUP;
|
||||
HAL_GPIO_Init(en_a_GPIO_Port, &GPIO_InitStruct);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user