mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-21 23:44:48 +08:00
Add missiong GPIO handler
This commit is contained in:
@@ -196,6 +196,8 @@ void SetGPIO12toStepDir() {
|
||||
}
|
||||
|
||||
void SetupENCIndexGPIO(){
|
||||
GPIO_InitTypeDef GPIO_InitStruct;
|
||||
|
||||
/*Configure GPIO pins : PAPin PAPin */
|
||||
GPIO_InitStruct.Pin = GPIO_4_Pin|M0_ENC_Z_Pin;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_IT_FALLING;
|
||||
|
||||
Reference in New Issue
Block a user