Fix cli profile mode loading

This commit is contained in:
Luca Lovisa 2021-03-01 23:14:36 +01:00
parent ea31b37f91
commit ed48c9634c
No known key found for this signature in database
GPG key ID: 0723C99087F25D49

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;
}
/*---------------------------------------------------------*\