UPD: more universal codebase for different vehicles

This commit is contained in:
Niklas Fauth
2018-04-09 21:43:59 +02:00
parent 69a14c52a9
commit de8957536c
6 changed files with 1211 additions and 1455 deletions

View File

@@ -168,7 +168,7 @@ void SysTick_Handler(void) {
/* USER CODE END SysTick_IRQn 1 */
}
#ifdef CONTROL_NUNCHUCK
extern I2C_HandleTypeDef hi2c2;
void I2C1_EV_IRQHandler(void)
{
@@ -207,14 +207,15 @@ void DMA1_Channel5_IRQHandler(void)
/* USER CODE END DMA1_Channel5_IRQn 1 */
}
#endif
#ifdef CONTROL_PPM
void EXTI3_IRQHandler(void)
{
PPM_ISR_Callback();
__HAL_GPIO_EXTI_CLEAR_IT(GPIO_PIN_3);
}
#endif
/******************************************************************************/
/* STM32F1xx Peripheral Interrupt Handlers */