bool return

This commit is contained in:
shrkey
2016-10-09 20:15:45 +01:00
parent debb69a636
commit f61e65ed80
2 changed files with 2 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ DW640::DW640(uint8_t address) {
* Then it enables auto-increment of register address to allow for faster writes.
* And finally the restart is performed to enable clocking.
*/
void DW640::initialize() {
bool DW640::initialize() {
this->pwm = new PCA9685( this->devAddr );
if (!testConnection() ) {
printf("No 640 board found\n");