Fix cli profile mode loading

This commit is contained in:
Luca Lovisa
2021-03-01 23:14:36 +01:00
parent ea31b37f91
commit ed48c9634c

View File

@@ -287,7 +287,7 @@ unsigned int ParseMode(DeviceOptions& options, std::vector<RGBController *> &rgb
// no need to check if --mode wasn't passed
if (options.mode.size() == 0)
{
return false;
return rgb_controllers[options.device]->active_mode;
}
/*---------------------------------------------------------*\