mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-02 13:14:51 +00:00
b287e7b3441227e384c7a9fd4e438480a515541b
Remove redudant struct names. Replace 2 spaces with a tab char.
This reduces 128 bytes in flash size.
BUG=chromium:374575
BRANCH=tot,nyan
TEST=Built and verified on big
% grep hey build/big/ec.RO.map
0x000000000000ef48
After shrink:
0x000000000000eec8
The output still is easy to read.
> chg
state = charge
ac = 1
chg.*:
voltage = 13040mV
current = 256mA
input_current = 2048mA
status = 0x10
option = 0xf912
flags = 0x0
batt.*:
temperature = 20C
state_of_charge = 0%
voltage = 8253mV
current = 274mA
desired_voltage = 13050mV
desired_current = 256mA
flags = 0x3
remaining_capacity = 0mAh
full_capacity = 4026mAh
is_present = YES
requested_voltage = 13040mV
requested_current = 256mA
force_idle = 0
manual_mode = 0
user_current_limit = -1mA
battery_seems_to_be_dead = 0
debug output = off
Change-Id: I82a3a5cda3fa96e247355dc90431691015eece6c
Signed-off-by: Louis Yung-Chieh Lo <yjlou@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/200470
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Tested-by: Bill Richardson <wfrichar@chromium.org>
For an overview of the Embedded Controller firmware, refer to http://www.chromium.org/chromium-os/2014-firmware-summit
Description
Languages
C
64.7%
Lasso
20.7%
ASL
3.6%
JavaScript
3.2%
C#
2.9%
Other
4.6%