diff options
| author | jacqueline <me@jacqueline.id.au> | 2022-09-30 22:14:06 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2022-09-30 22:14:06 +1000 |
| commit | 353df98ba1394de156923d00fc034badde8e4cc0 (patch) | |
| tree | d1c7bede8069f91953e9674af1d7adb67b23a999 /main/battery.cpp | |
| parent | 8b10a44106c51003bb8d109289927188b9f9b233 (diff) | |
| download | tangara-fw-353df98ba1394de156923d00fc034badde8e4cc0.tar.gz | |
fix silly build errors
Diffstat (limited to 'main/battery.cpp')
| -rw-r--r-- | main/battery.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/battery.cpp b/main/battery.cpp index ef23bfc0..179a6439 100644 --- a/main/battery.cpp +++ b/main/battery.cpp @@ -1,4 +1,4 @@ -#include "battery.c" +#include "battery.h" #include "driver/adc.h" #include "esp_adc_cal.h" @@ -8,7 +8,7 @@ namespace gay_ipod { static esp_adc_cal_characteristics_t calibration; -esp_error_t init_adc(void) { +esp_err_t init_adc(void) { // Calibration should already be fused into the chip from the factory, so // we should only need to read it back out again. esp_adc_cal_characterize( |
