Use RegisterRGBController for standard detectors

This commit is contained in:
Adam Honse
2023-01-26 18:46:32 -06:00
parent 29d34f7768
commit 060567548f
24 changed files with 111 additions and 100 deletions

View File

@@ -88,7 +88,7 @@ void DetectLEDStripControllers(std::vector<RGBController*> &rgb_controllers)
RGBController_LEDStrip* rgb_controller = new RGBController_LEDStrip(controller);
rgb_controller->name = dev.name;
rgb_controllers.push_back(rgb_controller);
ResourceManager::get()->RegisterRGBController(rgb_controller);
}
}