Add missiong GPIO handler

This commit is contained in:
Paul Guenette
2017-12-14 22:08:43 -05:00
parent 67cac6463d
commit a5d6a07cb9
+2
View File
@@ -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;