mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-23 00:55:20 -04:00
Remove name comment from AMDWraithPrismControllerDetect
This commit is contained in:
1 parent
e4da571d6b
commit
d2b3965bc2
1 file changed
+3
-2
@@ -35,11 +35,12 @@
|
||||
void DetectAMDWraithPrismControllers(hid_device_info* info, const std::string&)
|
||||
{
|
||||
hid_device* dev = hid_open_path(info->path);
|
||||
if( dev )
|
||||
|
||||
if(dev)
|
||||
{
|
||||
AMDWraithPrismController* controller = new AMDWraithPrismController(dev, info->path);
|
||||
RGBController_AMDWraithPrism* rgb_controller = new RGBController_AMDWraithPrism(controller);
|
||||
// Constructor sets the name
|
||||
|
||||
ResourceManager::get()->RegisterRGBController(rgb_controller);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user