mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-02-24 18:27:05 -05:00
Store name in ZotacTuringGPUController to avoid setting it in detector
This commit is contained in:
@@ -51,9 +51,8 @@ void DetectZotacTuringGPUControllers(i2c_smbus_interface* bus, u8 i2c_addr, cons
|
||||
{
|
||||
if(TestForZotacTuringGPUController(bus, i2c_addr))
|
||||
{
|
||||
ZotacTuringGPUController* controller = new ZotacTuringGPUController(bus, i2c_addr);
|
||||
ZotacTuringGPUController* controller = new ZotacTuringGPUController(bus, i2c_addr, name);
|
||||
RGBController_ZotacTuringGPU* rgb_controller = new RGBController_ZotacTuringGPU(controller);
|
||||
rgb_controller->name = name;
|
||||
|
||||
ResourceManager::get()->RegisterRGBController(rgb_controller);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user