SeagateController fixes for 0.9 rebase and 64-bit build

This commit is contained in:
Adam Honse
2023-07-16 02:01:34 -05:00
parent c092e96f66
commit e5ff332c9c
2 changed files with 6 additions and 6 deletions

View File

@@ -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() */