Skip to content

qpnp-charger.c: undeclared function (d803) #4

@danielstuart14

Description

@danielstuart14

When compiling to d803 (the only model that has qpnp-charger=y in config), I got that:

error: 'STS_CHE_STPCHG_TO_DECCUR' undeclared (first use in this function)
if (res.change_lvl == STS_CHE_STPCHG_TO_DECCUR) {
^

I saw that cm12.0 caf doesn't has STS_CHE_STPCHG_TO_DECCUR state. So I delete this state to compile, I'll test if charge still working (or even if it's booting).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions