Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ int _adc_gpio_init(Stm32CurrentSenseParams* cs_params, const int pinA, const int
return 0;
}


#ifdef SIMPLEFOC_STM32_ADC_INTERRUPT
extern "C" {
void ADC1_2_IRQHandler(void)
{
Expand All @@ -207,5 +207,6 @@ extern "C" {
}
#endif
}
#endif

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ int _adc_gpio_init(Stm32CurrentSenseParams* cs_params, const int pinA, const int
return 0;
}


#ifdef SIMPLEFOC_STM32_ADC_INTERRUPT
extern "C" {
void ADC1_2_IRQHandler(void)
{
Expand Down Expand Up @@ -279,4 +279,5 @@ extern "C" {
}
#endif
}
#endif
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ int _adc_gpio_init(Stm32CurrentSenseParams* cs_params, const int pinA, const int
return 0;
}


#ifdef SIMPLEFOC_STM32_ADC_INTERRUPT
extern "C" {
void ADC_IRQHandler(void)
{
Expand All @@ -247,5 +247,6 @@ extern "C" {
}
}
#endif
#endif

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ int _adc_gpio_init(Stm32CurrentSenseParams* cs_params, const int pinA, const int
return 0;
}

#ifdef SIMPLEFOC_STM32_ADC_INTERRUPT
extern "C" {
void ADC1_2_IRQHandler(void)
{
Expand Down Expand Up @@ -277,5 +278,6 @@ extern "C" {
}
#endif
}
#endif

#endif
Loading