Rework RGBControllers and detectors that set string fields other than name outside of the RGBController
This commit is contained in:
parent
6a472437bb
commit
abd34f1810
15 changed files with 40 additions and 27 deletions
|
|
@ -82,10 +82,6 @@ void DetectSpectrixS40GControllers()
|
|||
ENESMBusController* controller = new ENESMBusController(interface, 0x67);
|
||||
RGBController_ENESMBus* rgb_controller = new RGBController_ENESMBus(controller);
|
||||
|
||||
rgb_controller->name = "XPG Spectrix S40G";
|
||||
rgb_controller->type = DEVICE_TYPE_STORAGE;
|
||||
rgb_controller->vendor = "XPG";
|
||||
|
||||
ResourceManager::get()->RegisterRGBController(rgb_controller);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue