You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: