capitals :(

This commit is contained in:
shrkey
2016-10-09 20:43:27 +01:00
parent 3f682595b9
commit 836b525fd5
2 changed files with 2 additions and 2 deletions

View File

@@ -89,7 +89,7 @@ uint8_t DW640::getMode() {
* @param Frequency in Hz * @param Frequency in Hz
*/ */
void DW640::setMode(uint8_t mode) { void DW640::setMode(uint8_t mode) {
this->modePin = new PIN( RPI_GPIO_27 ); this->modePin = new Pin( RPI_GPIO_27 );
this->modePin->setMode(Pin::GpioModeOutput); this->modePin->setMode(Pin::GpioModeOutput);
this->modePin->write( mode ); this->modePin->write( mode );
} }

View File

@@ -102,7 +102,7 @@ class DW640 {
float frequency; float frequency;
uint8_t mode; uint8_t mode;
PCA9685* pwm; PCA9685* pwm;
PIN* modePin; Pin* modePin;
}; };
#endif // DW640_H #endif // DW640_H