Remove name comment from AMDWraithPrismControllerDetect
This commit is contained in:
parent
e4da571d6b
commit
d2b3965bc2
1 changed files with 3 additions and 2 deletions
|
|
@ -35,11 +35,12 @@
|
||||||
void DetectAMDWraithPrismControllers(hid_device_info* info, const std::string&)
|
void DetectAMDWraithPrismControllers(hid_device_info* info, const std::string&)
|
||||||
{
|
{
|
||||||
hid_device* dev = hid_open_path(info->path);
|
hid_device* dev = hid_open_path(info->path);
|
||||||
if( dev )
|
|
||||||
|
if(dev)
|
||||||
{
|
{
|
||||||
AMDWraithPrismController* controller = new AMDWraithPrismController(dev, info->path);
|
AMDWraithPrismController* controller = new AMDWraithPrismController(dev, info->path);
|
||||||
RGBController_AMDWraithPrism* rgb_controller = new RGBController_AMDWraithPrism(controller);
|
RGBController_AMDWraithPrism* rgb_controller = new RGBController_AMDWraithPrism(controller);
|
||||||
// Constructor sets the name
|
|
||||||
ResourceManager::get()->RegisterRGBController(rgb_controller);
|
ResourceManager::get()->RegisterRGBController(rgb_controller);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue