mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-09-14 14:17:46 -04:00
Rework RGBControllers and detectors that set string fields other than name outside of the RGBController
This commit is contained in:
1 parent
6a472437bb
commit
abd34f1810
15 files changed
+40
-27
No files matched your search
@@ -49,7 +49,6 @@ void DetectPalitGPUControllers(i2c_smbus_interface* bus, uint8_t i2c_addr, const
|
||||
PalitGPUController* controller = new PalitGPUController(bus, i2c_addr);
|
||||
RGBController_PalitGPU* rgb_controller = new RGBController_PalitGPU(controller);
|
||||
rgb_controller->name = name;
|
||||
rgb_controller->vendor = name.substr(0, name.find(' '));
|
||||
|
||||
ResourceManager::get()->RegisterRGBController(rgb_controller);
|
||||
} /* DetectPalitGPUControllers() */
|
||||
|
||||
Reference in new issue
Block a user