examples/charger: Update enum type usage per kernel change
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
cb1b8e10db
commit
8d3a536650
@ -129,8 +129,8 @@ static int show_charge_setting(int fd)
|
|||||||
|
|
||||||
static int show_bat_status(int fd)
|
static int show_bat_status(int fd)
|
||||||
{
|
{
|
||||||
enum battery_charger_status_e status;
|
enum battery_status_e status;
|
||||||
enum battery_charger_health_e health;
|
enum battery_health_e health;
|
||||||
const char *statestr[] =
|
const char *statestr[] =
|
||||||
{
|
{
|
||||||
"UNKNOWN",
|
"UNKNOWN",
|
||||||
|
Loading…
Reference in New Issue
Block a user