mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-02-02 11:21:05 -05:00
Use synchronous mode update function in CLI
This commit is contained in:
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 |
|
||||
|
||||
Reference in New Issue
Block a user