Use synchronous mode update function in CLI
This commit is contained in:
parent
baca85b8cd
commit
dee23ec52e
1 changed files with 2 additions and 1 deletions
3
cli.cpp
3
cli.cpp
|
|
@ -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 |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue