]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
fix reload params by change color mode
authorBastian Dehn <hhaalo@arcor.de>
Tue, 24 Dec 2024 11:38:40 +0000 (12:38 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Tue, 24 Dec 2024 11:38:40 +0000 (12:38 +0100)
src/kds_s2000w_handler_opts.c

index 76e48e2e0b4ae8091c5c86146c1d283021825577..6e40993bbadf69f67640c561becb488b5d7ad5b9 100644 (file)
@@ -251,6 +251,8 @@ void kds_s2000w_handler_set_option(handler* h, int option, void* value, int* inf
                        value_object = json_object_object_get(config, "ColorMode");
                        _write_string_value_to_json(value_object, value);
                        value_object = NULL;
+
+                       *info = RELOAD_PARAMS;
                        break;
                case 4:
                        value_object = json_object_object_get(config, "DPI");