mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-20 23:54:58 -04:00
Basic i2c
This commit is contained in:
1 parent
e0be60de21
commit
428692fa3a
6 files changed
+124
-5
No files matched your search
@@ -74,6 +74,10 @@ void DetectLEDStripControllers(std::vector<RGBController*> &rgb_controllers)
|
||||
{
|
||||
dev.protocol = LED_PROTOCOL_TPM2;
|
||||
}
|
||||
else if(protocol_string == "basic_i2c")
|
||||
{
|
||||
dev.protocol = LED_PROTOCOL_BASIC_I2C;
|
||||
}
|
||||
}
|
||||
|
||||
std::string value = dev.port + "," + std::to_string(dev.baud) + "," + std::to_string(dev.num_leds);
|
||||
|
||||
Reference in new issue
Block a user