You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ma...@apache.org on 2021/09/30 06:37:10 UTC

[incubator-nuttx-apps] branch master updated: examples/charger: Update enum type usage per kernel change

This is an automated email from the ASF dual-hosted git repository.

masayuki pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 8d3a536  examples/charger: Update enum type usage per kernel change
8d3a536 is described below

commit 8d3a536650d59fb2540f338e058c08cfbab883e4
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Thu Sep 30 13:25:46 2021 +0800

    examples/charger: Update enum type usage per kernel change
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 examples/charger/charger_main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/charger/charger_main.c b/examples/charger/charger_main.c
index ef91abc..3e90046 100644
--- a/examples/charger/charger_main.c
+++ b/examples/charger/charger_main.c
@@ -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",