mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-10 17:41:54 +00:00
Merge "Add charger option output in interactive console"
This commit is contained in:
@@ -196,6 +196,12 @@ static int print_info(void)
|
||||
info = charger_get_info();
|
||||
ccprintf(" name : %s\n", info->name);
|
||||
|
||||
/* option */
|
||||
rv = charger_get_option(&d);
|
||||
if (rv)
|
||||
return rv;
|
||||
ccprintf(" option : %016b (0x%04x)\n", d, d);
|
||||
|
||||
/* manufacturer id */
|
||||
rv = charger_manufacturer_id(&d);
|
||||
if (rv)
|
||||
|
||||
Reference in New Issue
Block a user