Fix a bunch of compiler warnings

This commit is contained in:
Adam Honse 2022-07-17 22:23:12 -05:00
parent be10133bce
commit bba7fa9fd2
40 changed files with 130 additions and 124 deletions

View file

@ -21,7 +21,7 @@ void DetectN5312AControllers(hid_device_info* info, const std::string& name)
{
N5312AController* controller = new N5312AController(dev, *info);
RGBController_N5312A* rgb_controller = new RGBController_N5312A(controller);
rgb_controller->name = rgb_controller->name;
rgb_controller->name = name;
ResourceManager::get()->RegisterRGBController(rgb_controller);
}