Skip to content

setHundredthsToZero return type should be void #10

@vinthewrench

Description

@vinthewrench

the code for

bool RV8803::setHundredthsToZero()
{
writeBit(RV8803_CONTROL, CONTROL_RESET, ENABLE);
writeBit(RV8803_CONTROL, CONTROL_RESET, DISABLE);
}

SparkFun_RV8803.cpp: In member function 'bool RV8803::setHundredthsToZero()':
SparkFun_RV8803.cpp:260:1: warning: no return statement in function returning non-void [-Wreturn-type]

please change it to void or return something

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