mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-08-29 15:15:55 +08:00
fix renamed funcs
This commit is contained in:
@@ -158,9 +158,9 @@ void ADC_IRQHandler(void)
|
||||
// The HAL's ADC handling mechanism adds many clock cycles of overhead
|
||||
// So we bypass it and handle the logic ourselves.
|
||||
//@TODO add vbus meaasurement on adc1 here
|
||||
ADC_IRQ_Dispatch(&hadc1, &vbusSenseADC_cb);
|
||||
ADC_IRQ_Dispatch(&hadc2, &pwmTrigADC_cb);
|
||||
ADC_IRQ_Dispatch(&hadc3, &pwmTrigADC_cb);
|
||||
ADC_IRQ_Dispatch(&hadc1, &vbus_sense_adc_cb);
|
||||
ADC_IRQ_Dispatch(&hadc2, &pwm_trig_adc_cb);
|
||||
ADC_IRQ_Dispatch(&hadc3, &pwm_trig_adc_cb);
|
||||
|
||||
// Bypass HAL
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user