From 8407bdb9e4acbec77f2bda41d929ae5e8c5a30ad Mon Sep 17 00:00:00 2001 From: Per Nilsson Date: Wed, 24 May 2023 14:12:27 +0200 Subject: [PATCH] Enable all tested commands --- examples/logs.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/logs.c b/examples/logs.c index 6cd71b1f..796ee961 100644 --- a/examples/logs.c +++ b/examples/logs.c @@ -78,7 +78,11 @@ int main(void) { option[0] = YHC_SET_OPTION; option[1] = 0x01; - option_len = 2; + option[2] = YHC_SET_LOG_INDEX; + option[3] = 0x01; + option[4] = YHC_GET_OBJECT_INFO; + option[5] = 0x01; + option_len = 2 * 3; yrc = yh_util_set_option(session, YH_OPTION_COMMAND_AUDIT, option_len, option); assert(yrc == YHR_SUCCESS);