summaryrefslogtreecommitdiff
path: root/main/gay-ipod-fw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main/gay-ipod-fw.cpp')
-rw-r--r--main/gay-ipod-fw.cpp4
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());