Use synchronous mode update function in CLI

This commit is contained in:
Adam Honse 2020-07-22 23:29:32 -05:00
parent baca85b8cd
commit dee23ec52e

View file

@ -991,7 +991,8 @@ void ApplyOptions(DeviceOptions& options, std::vector<RGBController *> &rgb_cont
/*---------------------------------------------------------*\
| Set device mode |
\*---------------------------------------------------------*/
device->SetMode(mode);
device->active_mode = mode;
device->DeviceUpdateMode();
/*---------------------------------------------------------*\
| Set device per-LED colors if necessary |