From 3ae6fa16f4c9edd4c3e4c54d6725e6e050253e73 Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Sat, 27 Jan 2024 11:55:23 +0100 Subject: [PATCH] add debug count option info --- src/kds_s2000w_handler.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/kds_s2000w_handler.c b/src/kds_s2000w_handler.c index 548eb85..0f791be 100644 --- a/src/kds_s2000w_handler.c +++ b/src/kds_s2000w_handler.c @@ -87,6 +87,8 @@ void kds_s2000w_handler_get_option(int option, void* value) switch(option) { case 0: int_value_ptr = (int*) value; + int_value = json_object_object_length(config); + printf("option number count: %i\n", int_value); *int_value_ptr = 8; break; case 1: -- 2.47.3