@@ -320,8 +320,8 @@ static void MX_GPIO_Init(void)
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
|
||||
HAL_GPIO_Init(mute_GPIO_Port, &GPIO_InitStruct);
|
||||
|
||||
/*Configure GPIO pins : tack_a_Pin tack_b_Pin en_c_Pin */
|
||||
GPIO_InitStruct.Pin = tack_a_Pin|tack_b_Pin|en_c_Pin;
|
||||
/*Configure GPIO pins : tack_a_Pin tack_b_Pin en_c_Pin en_a_Pin */
|
||||
GPIO_InitStruct.Pin = tack_a_Pin|tack_b_Pin|en_c_Pin|en_a_Pin;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_IT_RISING_FALLING;
|
||||
GPIO_InitStruct.Pull = GPIO_PULLUP;
|
||||
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
|
||||
@@ -347,12 +347,6 @@ static void MX_GPIO_Init(void)
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
|
||||
HAL_GPIO_Init(pwr_en_GPIO_Port, &GPIO_InitStruct);
|
||||
|
||||
/*Configure GPIO pin : en_a_Pin */
|
||||
GPIO_InitStruct.Pin = en_a_Pin;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_IT_RISING;
|
||||
GPIO_InitStruct.Pull = GPIO_PULLUP;
|
||||
HAL_GPIO_Init(en_a_GPIO_Port, &GPIO_InitStruct);
|
||||
|
||||
/*Configure GPIO pin : en_b_Pin */
|
||||
GPIO_InitStruct.Pin = en_b_Pin;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
|
||||
|
||||
Reference in New Issue
Block a user