examples/charger: Update enum type usage per kernel change

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2021-09-30 13:25:46 +08:00 committed by Masayuki Ishikawa
parent cb1b8e10db
commit 8d3a536650

View File

@ -129,8 +129,8 @@ static int show_charge_setting(int fd)
static int show_bat_status(int fd)
{
enum battery_charger_status_e status;
enum battery_charger_health_e health;
enum battery_status_e status;
enum battery_health_e health;
const char *statestr[] =
{
"UNKNOWN",