Skip to content

Commit 910c24f

Browse files
committed
forgotten change for bg431
1 parent 52e8d9d commit 910c24f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/current_sense/hardware_specific/stm32/b_g431/b_g431_mcu.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ volatile uint16_t adcBuffer2[ADC_BUF_LEN_2] = {0}; // Buffer for store the resul
2727

2828
// function reading an ADC value and returning the read voltage
2929
// As DMA is being used just return the DMA result
30-
float _readADCVoltageInline(const int pin, const void* cs_params){
30+
float _readADCVoltageLowSide(const int pin, const void* cs_params){
3131
uint32_t raw_adc = 0;
3232
if(pin == PA2) // = ADC1_IN3 = phase U (OP1_OUT) on B-G431B-ESC1
3333
raw_adc = adcBuffer1[1];

0 commit comments

Comments
 (0)