Skip to content

Logic for canRunOnBattery() is inverted #38

Open
@htrinkle

Description

@htrinkle

if(DATA & 0x01) {

Bit 1 of status register (VSYS_STAT) is set if VSYSMIN regulation is active. Therefore "canRunOnBattery" if VSYS_MIN bit is NOT set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions