Skip to content

Commit

Permalink
forgotten change for bg431
Browse files Browse the repository at this point in the history
  • Loading branch information
askuric committed Jun 21, 2024
1 parent 52e8d9d commit 910c24f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ volatile uint16_t adcBuffer2[ADC_BUF_LEN_2] = {0}; // Buffer for store the resul

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

0 comments on commit 910c24f

Please sign in to comment.