I2C/SPI require device type in constructor

This commit is contained in:
Daniel Agar
2020-04-01 12:24:22 -04:00
committed by GitHub
parent 04bf9afd1b
commit 02f4ad61ec
128 changed files with 181 additions and 351 deletions
+1 -1
View File
@@ -38,7 +38,7 @@
using namespace drv_pca9685_pwm;
PCA9685::PCA9685(int bus, int addr):
I2C("PCA9685", PWM_OUTPUT0_DEVICE_PATH, bus, addr, 400000)
I2C(DRV_PWM_DEVTYPE_PCA9685, MODULE_NAME, bus, addr, 400000)
{
}