Skip to content

Commit

Permalink
Merge branch 'hx20-hx30' of github.com:FrameworkComputer/EmbeddedCont…
Browse files Browse the repository at this point in the history
…roller into hx20-hx30
  • Loading branch information
kiram9 committed May 26, 2023
2 parents a3ddf40 + 72748b7 commit f6d6b92
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions baseboard/fwk/battery.c
Original file line number Diff line number Diff line change
Expand Up @@ -476,8 +476,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

0 comments on commit f6d6b92

Please sign in to comment.