Code Cleanup for Coolermaster MP750

This commit is contained in:
Chris 2020-11-12 00:42:06 +11:00 committed by Adam Honse
parent dd36a7362a
commit b495c7723f
4 changed files with 27 additions and 42 deletions

View file

@ -74,7 +74,7 @@ void DetectCoolerMasterControllers(std::vector<RGBController*>& rgb_controllers)
{
if (dev_type == DEVICE_TYPE_MOUSEMAT)
{
CMMP750Controller* controller = new CMMP750Controller(dev, info->manufacturer_string, info->product_string, info->path);
CMMP750Controller* controller = new CMMP750Controller(dev, info->path);
RGBController_CMMP750Controller* rgb_controller = new RGBController_CMMP750Controller(controller);
rgb_controllers.push_back(rgb_controller);
}