interface and drivers
This commit is contained in:
@@ -67,7 +67,7 @@ void MX_GPIO_Init(void)
|
||||
HAL_GPIO_Init(B1_GPIO_Port, &GPIO_InitStruct);
|
||||
|
||||
/*Configure GPIO pins : PAPin PAPin PAPin */
|
||||
GPIO_InitStruct.Pin = BTN1_Pin|BTN1A1_Pin|BTN_CH1_Pin;
|
||||
GPIO_InitStruct.Pin = BTN1_Pin|BTN2_Pin|BTN_CH1_Pin;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
|
||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
|
||||
|
||||
Reference in New Issue
Block a user