blob: 0ee36aa5418fa26274ed9ee021764f25fb1f2bad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef BATTERY_H
#define BATTERY_H
#include <stdint.h>
#include "esp_err.h"
namespace gay_ipod {
esp_err_t init_adc(void);
/**
* Returns the current battery level in millivolts.
*/
uint32_t read_battery_voltage(void);
} // namespace gay_ipod
#endif
|