Skip to content

SPI library DigitalPotControl digitalPotWrite return value [imported] #1063

Closed
@cmaglie

Description

@cmaglie

This is Issue 1063 moved from a Google Code project.
Added by 2012-10-06T22:00:29.000Z by [email protected].
Please review that bug for more context and additional comments, but update this bug.

Original labels: Type-Defect, Priority-Medium

Original description

In the SPI library's DigitalPotControl control example, the digitalPotWrite() function is defined to return an int, but there is no return value at the end of the function. The calling code doesn't use the return value, but as a proper example, the digitalPotWrite() function should have a return value if it's defined to return an int, or should be changed to void.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions