Colorful turing color modes support

This commit is contained in:
Lucas Mindêllo de Andrade 2023-05-29 19:44:50 +00:00 committed by Adam Honse
parent 90db870161
commit 8202ef19e6
5 changed files with 210 additions and 31 deletions

View file

@ -12,9 +12,9 @@ void DetectColorfulTuringGPUControllers(i2c_smbus_interface* bus, uint8_t i2c_ad
{
if(bus->port_id == 1)
{
ColorfulTuringGPUController* controller = new ColorfulTuringGPUController(bus, i2c_addr);
ColorfulTuringGPUController* controller = new ColorfulTuringGPUController(bus, i2c_addr);
RGBController_ColorfulTuringGPU* rgb_controller = new RGBController_ColorfulTuringGPU(controller);
rgb_controller->name = name;
rgb_controller->name = name;
ResourceManager::get()->RegisterRGBController(rgb_controller);
}