mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-02-05 12:51:08 -05:00
SeagateController fixes for 0.9 rebase and 64-bit build
This commit is contained in:
@@ -106,7 +106,7 @@ static HANDLE OpenDevice(wchar_t buff[MAX_PATH])
|
||||
* *
|
||||
\******************************************************************************************/
|
||||
|
||||
void DetectSeagateControllers(std::vector<RGBController*>& rgb_controllers)
|
||||
void DetectSeagateControllers()
|
||||
{
|
||||
/*-------------------------------------------------------------------------------------------------*\
|
||||
| https://docs.microsoft.com/en-us/windows-hardware/drivers/install/identifiers-for-scsi-devices |
|
||||
@@ -122,7 +122,7 @@ void DetectSeagateControllers(std::vector<RGBController*>& rgb_controllers)
|
||||
SeagateController* controller = new SeagateController(fd, dev_name);
|
||||
RGBController_Seagate* rgb_controller = new RGBController_Seagate(controller);
|
||||
|
||||
rgb_controllers.push_back(rgb_controller);
|
||||
ResourceManager::get()->RegisterRGBController(rgb_controller);
|
||||
}
|
||||
}
|
||||
} /* DetectSpectrixS40GControllers() */
|
||||
|
||||
Reference in New Issue
Block a user