imx233: display battery voltage in bootloader (along with percent)
Change-Id: I7b14496ba891a9ff2f6373571a11835d37abee4e
This commit is contained in:
parent
60aeff686f
commit
27248888c3
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ static void usb_mode(int connect_timeout)
|
|||
info.state == TRICKLE ? "trickle" :
|
||||
info.state == TOPOFF ? "topoff" :
|
||||
info.state == CHARGING ? "charging" : "<unknown>");
|
||||
lcd_putsf(0, 8, "Battery: %d%%", battery_level());
|
||||
lcd_putsf(0, 8, "Battery: %d%% (%d mV)", battery_level(), battery_voltage());
|
||||
lcd_putsf(0, 9, "Die temp: %d°C [%d, %d]",
|
||||
adc_read(ADC_DIE_TEMP), IMX233_DIE_TEMP_HIGH,
|
||||
IMX233_DIE_TEMP_LOW);
|
||||
|
|
Loading…
Reference in a new issue