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/gay-ipod-fw.cpp | |
| parent | 8b10a44106c51003bb8d109289927188b9f9b233 (diff) | |
| download | tangara-fw-353df98ba1394de156923d00fc034badde8e4cc0.tar.gz | |
fix silly build errors
Diffstat (limited to 'main/gay-ipod-fw.cpp')
| -rw-r--r-- | main/gay-ipod-fw.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/gay-ipod-fw.cpp b/main/gay-ipod-fw.cpp index 55ff451f..5f16ddc7 100644 --- a/main/gay-ipod-fw.cpp +++ b/main/gay-ipod-fw.cpp @@ -97,11 +97,11 @@ extern "C" void app_main(void) ESP_ERROR_CHECK(expander.Write()); ESP_LOGI(TAG, "Init ADC"); - ESP_ERROR_CHECK(init_adc()); + ESP_ERROR_CHECK(gay_ipod::init_adc()); while (1) { - uint32_t battery = read_battery_voltage(); + uint32_t battery = gay_ipod::read_battery_voltage(); expander.Read(); ESP_LOGI(TAG, "millivolts: %d, wall power? %d", battery, expander.charge_power_ok()); |
