tdse-tp4_03-adc_pwm

FIUBA - Electrónica - Taller de Sistemas Embebidos - Trabajo Práctico No 4 - Proyecto No 03
Index Commits Files Refs README
commit a34c1844cad522c74cc43951ce7b6ad8a85eb5d2
parent 1edebc9407a6a4c81ec42143407bd5658e155a37
Author: Martin Kloeckner <mjkloeckner@gmail.com>
Date:   Sat, 25 Oct 2025 18:16:25 -0300

Remove commented code

Diffstat:
Mapp/src/task_adc.c | 11-----------
1 file changed, 0 insertions(+), 11 deletions(-)
diff --git a/app/src/task_adc.c b/app/src/task_adc.c
@@ -103,17 +103,6 @@ HAL_StatusTypeDef ADC_Poll_Read(uint16_t *value) {
         HAL_ADC_Stop(&hadc1);
     }
 
-    /*
-    res = HAL_ADC_Start(&hadc1);
-    if (HAL_OK == res)
-    {
-        res = HAL_ADC_PollForConversion(&hadc1, 0);
-        if (HAL_OK == res) 
-        {
-            *value = HAL_ADC_GetValue(&hadc1);
-        }
-    }
-    */
     *value = (sum / ADC_AVG_SAMPLES);
     return HAL_OK;
 }