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
@@ -218,7 +218,7 @@ MK *g_mk;
} // namespace
MK::MK(int bus, const char *_device_path) :
I2C("mkblctrl", "/dev/mkblctrl0", bus, 0, I2C_BUS_SPEED),
I2C(0, "mkblctrl", bus, 0, I2C_BUS_SPEED),
_update_rate(UPDATE_RATE),
_task(-1),
_t_actuators(-1),