Dukebats / arduino

Automatically exported from code.google.com/p/arduino
Other
0 stars 0 forks source link

SPI library DigitalPotControl digitalPotWrite return value #1063

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by paul.sto...@gmail.com on 6 Oct 2012 at 10:00

GoogleCodeExporter commented 9 years ago
thanks!

Original comment by f.vanz...@gmail.com on 24 Apr 2013 at 8:50