Permalink
Browse files

no return value from begin()

  • Loading branch information...
1 parent ff90285 commit 811e835720d4f89254c7395c84b2ae39a16e27ab @ladyada ladyada committed Jan 2, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 Adafruit_PWMServoDriver.cpp
  2. +1 −1 Adafruit_PWMServoDriver.h
@@ -22,7 +22,7 @@ Adafruit_PWMServoDriver::Adafruit_PWMServoDriver(uint8_t addr) {
_i2caddr = addr;
}
-boolean Adafruit_PWMServoDriver::begin(void) {
+void Adafruit_PWMServoDriver::begin(void) {
Wire.begin();
reset();
}
@@ -46,7 +46,7 @@
class Adafruit_PWMServoDriver {
public:
Adafruit_PWMServoDriver(uint8_t addr = 0x40);
- boolean begin(void);
+ void begin(void);
void reset(void);
void setPWMFreq(float freq);
void setPWM(uint8_t num, uint16_t on, uint16_t off);

0 comments on commit 811e835

Please sign in to comment.