From dee23ec52ef5d757a7ec73cecbe23719fd08a678 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Wed, 22 Jul 2020 23:29:32 -0500 Subject: [PATCH] Use synchronous mode update function in CLI --- cli.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cli.cpp b/cli.cpp index 39609acb..c1dcfdae 100644 --- a/cli.cpp +++ b/cli.cpp @@ -991,7 +991,8 @@ void ApplyOptions(DeviceOptions& options, std::vector &rgb_cont /*---------------------------------------------------------*\ | Set device mode | \*---------------------------------------------------------*/ - device->SetMode(mode); + device->active_mode = mode; + device->DeviceUpdateMode(); /*---------------------------------------------------------*\ | Set device per-LED colors if necessary |