Skip to content

Commit 1f2e465

Browse files
committed
Merge branch 'new_adc_rebase' of https://github.com/Candas1/Arduino-FOC into new_adc_rebase
2 parents a5be65c + fefe5a7 commit 1f2e465

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/current_sense/hardware_specific/stm32/stm32_adc.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@
5858
#define ADC_SAMPLINGTIME_INJ ADC_SAMPLETIME_2CYCLES_5;
5959
#elif defined(ADC_SAMPLETIME_3CYCLES)
6060
#define ADC_SAMPLINGTIME_INJ ADC_SAMPLETIME_3CYCLES;
61+
#elif defined(ADC_SAMPLETIME_4CYCLES)
62+
#define ADC_SAMPLINGTIME_INJ ADC_SAMPLETIME_4CYCLES;
6163
#elif defined(ADC_SAMPLETIME_5CYCLES)
6264
#define ADC_SAMPLINGTIME_INJ ADC_SAMPLETIME_5CYCLES;
6365
#endif

0 commit comments

Comments
 (0)