Skip to content

Commit 1acfda1

Browse files
authored
Update esp32_mcu.cpp
1 parent 6983d12 commit 1acfda1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/current_sense/hardware_specific/esp32/esp32_mcu.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ int adc_read_index[2]={0};
6868

6969
// function reading an ADC value and returning the read voltage
7070
float _readADCVoltageLowSide(const int pin, const void* cs_params){
71-
uint32_t raw_adc;
72-
7371
mcpwm_unit_t unit = ((ESP32MCPWMCurrentSenseParams*)cs_params)->mcpwm_unit;
7472
int buffer_index = ((ESP32MCPWMCurrentSenseParams*)cs_params)->buffer_index;
7573
float adc_voltage_conv = ((ESP32MCPWMCurrentSenseParams*)cs_params)->adc_voltage_conv;

0 commit comments

Comments
 (0)