Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions baseboard/fwk/battery.c
Original file line number Diff line number Diff line change
Expand Up @@ -401,8 +401,7 @@ static enum ec_status cmd_charging_limit_control(struct host_cmd_handler_args *a
charging_maximum_level = charging_maximum_level | CHG_LIMIT_OVERRIDE;

if (p->modes & CHG_LIMIT_GET_LIMIT) {
system_get_bbram(SYSTEM_BBRAM_IDX_CHG_MAX, &charging_maximum_level);
r->max_percentage = charging_maximum_level;
system_get_bbram(SYSTEM_BBRAM_IDX_CHG_MAX, &r->max_percentage);
args->response_size = sizeof(*r);
}

Expand Down