#include "kds_s2000w_debug.h"
#define AUTOSTART_ON 1
+#define OPTION_COUNT 22
void _kds_s2000w_handler_opts_write_string_value(json_object* value_object, void* value)
{
case 0:
config = json_object_object_get(h->current_scanner_config, "Configuration");
int32_t* int_value_ptr = (int32_t*) value;
- *int_value_ptr = json_object_object_length(config);
- kds_s2000w_debug_printf_int(DEBUG, "option numbers", *int_value_ptr);
+ *int_value_ptr = OPTION_COUNT;
break;
case 2:
value_object = json_object_object_get(config, "ScanSource");