We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52e8d9d commit 910c24fCopy full SHA for 910c24f
src/current_sense/hardware_specific/stm32/b_g431/b_g431_mcu.cpp
@@ -27,7 +27,7 @@ volatile uint16_t adcBuffer2[ADC_BUF_LEN_2] = {0}; // Buffer for store the resul
27
28
// function reading an ADC value and returning the read voltage
29
// As DMA is being used just return the DMA result
30
-float _readADCVoltageInline(const int pin, const void* cs_params){
+float _readADCVoltageLowSide(const int pin, const void* cs_params){
31
uint32_t raw_adc = 0;
32
if(pin == PA2) // = ADC1_IN3 = phase U (OP1_OUT) on B-G431B-ESC1
33
raw_adc = adcBuffer1[1];
0 commit comments