]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
set info option
authorBastian Dehn <hhaalo@arcor.de>
Mon, 22 Sep 2025 11:01:50 +0000 (13:01 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Mon, 22 Sep 2025 11:01:50 +0000 (13:01 +0200)
src/kds_s2000w_handler_opts.c

index b49e3ed08d7c788e4984977f30f3236108f36aad..0740b19514e9b1929a330bdd803ce49ae631c73a 100644 (file)
@@ -372,9 +372,6 @@ void kds_s2000w_handler_opts_set_option(handler* h, uint32_t option, void* value
                _kds_s2000w_handler_opts_set_enable_color_brightness_and_contrast(config);
                _kds_s2000w_handler_opts_set_enable_color_aggressiveness(config);
                _kds_s2000w_handler_opts_set_enable_color_balance(config);
-
-               if (info != NULL)
-                       *info = RELOAD_OPTIONS | RELOAD_PARAMS;
                break;
        default:
                break;
@@ -392,6 +389,9 @@ void kds_s2000w_handler_opts_set_option(handler* h, uint32_t option, void* value
                if (info != NULL)
                        *info = RELOAD_OPTIONS;
                break;
+       case 31:
+               if (info != NULL)
+                       *info = RELOAD_OPTIONS | RELOAD_PARAMS;
        default:
                break;
        }