mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-01-19 12:37:52 -05:00
Clean up code: remove excessive comments and debug bloat
- Remove verbose comments explaining obvious functionality - Keep only essential minimal comments where needed - Clean, production-ready code with no debug remnants - Maintains all functionality while reducing code bloat
This commit is contained in:
@@ -23,11 +23,10 @@ void DetectDDPControllers()
|
||||
json ddp_settings;
|
||||
std::vector<std::vector<DDPDevice>> device_lists;
|
||||
DDPDevice dev;
|
||||
unsigned int keepalive_time = 1000; // Default 1 second
|
||||
unsigned int keepalive_time = 1000;
|
||||
|
||||
ddp_settings = ResourceManager::get()->GetSettingsManager()->GetSettings("DDPDevices");
|
||||
|
||||
// Read keepalive setting
|
||||
if(ddp_settings.contains("keepalive_time"))
|
||||
{
|
||||
keepalive_time = ddp_settings["keepalive_time"];
|
||||
|
||||
Reference in New Issue
Block a user