]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
Revert "reload params depth change"
authorBastian Dehn <hhaalo@arcor.de>
Sun, 25 Feb 2024 08:55:43 +0000 (09:55 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Sun, 25 Feb 2024 08:55:43 +0000 (09:55 +0100)
This reverts commit ce515dc1522e408466d07e39a3b354e1a6bde464.

src/kds_s2000w_handler_opts.c

index b3a85918ca0f9f052d42f9914c5c0922ccd29b85..c0b14d919dd5688d85a05c2006ae99a08e2bf2f7 100644 (file)
@@ -389,7 +389,7 @@ void kds_s2000w_handler_set_option(handler* h, int option, void* value, int* inf
                case 25:
                        int* int_value = (int*) value;
                        h->current_metadata->depth = *int_value;
-                       *info = RELOAD_PARAMS;
+                       *info = RELOAD_OPTIONS;
                        break;
                default:
                        break;