fixed a small bug in ADC.c and ASC.h

This commit is contained in:
2025-02-02 18:31:45 +01:00
parent 14191cbef9
commit e098ab6c7a
30 changed files with 2 additions and 5 deletions
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
View File
View File
View File
View File
Regular → Executable
View File
View File
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
+1 -1
View File
@@ -4,7 +4,7 @@
#include "esp_adc/adc_cali_scheme.h"
#include "esp_log.h"
#include "parsed_pins.h"
#include "esp_adc/adc_oneshot.h"
static portMUX_TYPE mux = portMUX_INITIALIZER_UNLOCKED;
static adc_cali_handle_t cali_handle = NULL;
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
+1 -4
View File
@@ -1,9 +1,6 @@
#ifndef GPIO_H
#define GPIO_H
#include "esp_adc/adc_oneshot.h"
#include <stdint.h>
void configure_ADC1();
uint32_t get_voltage_in();
uint32_t get_torque();
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File