Skip to content

Bug: Setting the input current limit to 900mA does not work #53

Closed
@ir-mark

Description

@ir-mark

Setting the input current limit to 900 mA via PMICClass::setInputCurrentLimit does not work.

Problem: There is a typo preventing correct operation:

if (current >= CURRENT_LIM_900) {
current_val = CURRENT_LIM_900;
}

should be:

    if (current >= 0.9) {
        current_val = CURRENT_LIM_900;
    }

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions