mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-01-19 04:27:51 -05:00
scsiapi cleanup, add a non-functional MacOS version so it can build on all three platforms
This commit is contained in:
@@ -25,10 +25,13 @@ void DetectSeagateControllers()
|
||||
{
|
||||
scsi_device * dev = scsi_open_path(info->path);
|
||||
|
||||
SeagateController* controller = new SeagateController(dev, info->path);
|
||||
RGBController_Seagate* rgb_controller = new RGBController_Seagate(controller);
|
||||
if(dev)
|
||||
{
|
||||
SeagateController* controller = new SeagateController(dev, info->path);
|
||||
RGBController_Seagate* rgb_controller = new RGBController_Seagate(controller);
|
||||
|
||||
ResourceManager::get()->RegisterRGBController(rgb_controller);
|
||||
ResourceManager::get()->RegisterRGBController(rgb_controller);
|
||||
}
|
||||
}
|
||||
info = info->next;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user