Use resource manager to register I2C interfaces and log them

This commit is contained in:
Adam Honse 2021-03-24 01:22:48 -05:00
parent ec90f4678b
commit 69cb7a0d9e
8 changed files with 20 additions and 19 deletions

View file

@ -32,7 +32,7 @@
struct hid_device_info;
typedef std::function<void(std::vector<i2c_smbus_interface*>&)> I2CBusDetectorFunction;
typedef std::function<void()> I2CBusDetectorFunction;
typedef std::function<void(std::vector<RGBController*>&)> DeviceDetectorFunction;
typedef std::function<void(std::vector<i2c_smbus_interface*>&)> I2CDeviceDetectorFunction;
typedef std::function<void(hid_device_info*, const std::string&)> HIDDeviceDetectorFunction;