Skip to content

Commit 24bc913

Browse files
committed
bug #187 fix, typo
1 parent a248ae0 commit 24bc913

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/current_sense/hardware_specific/stm32/stm32f1/stm32f1_hal.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ uint32_t _timerToRegularTRGO(HardwareTimer* timer){
3333
return ADC_EXTERNALTRIGCONV_T3_TRGO;
3434
#ifdef TIM8 // if defined timer 8
3535
else if(timer->getHandle()->Instance == TIM8)
36-
return ADC_EXTERNALTRIGINJECCONV_T8_TRGO;
36+
return ADC_EXTERNALTRIGCONV_T8_TRGO;
3737
#endif
3838
else
3939
return _TRGO_NOT_AVAILABLE;

0 commit comments

Comments
 (0)