diff --git a/lib_jtag_core/src/script/script.c b/lib_jtag_core/src/script/script.c index f718b71..b19c496 100644 --- a/lib_jtag_core/src/script/script.c +++ b/lib_jtag_core/src/script/script.c @@ -1080,7 +1080,7 @@ static int cmd_call( script_ctx * ctx, char * line ) ret = JTAG_CORE_INTERNAL_ERROR; - new_ctx = init_script((void*)jc,0x00000000,(void*)&jc->envvar); + new_ctx = init_script((void*)jc,0x00000000,(void*)jc->envvar); if(new_ctx) { new_ctx->script_printf = ctx->script_printf; @@ -2488,7 +2488,7 @@ cmd_list script_commands_list[] = script_ctx * jtagcore_initScript(jtag_core * jc) { - return init_script((void*)jc,0x00000000,(void*)&jc->envvar); + return init_script((void*)jc,0x00000000,(void*)jc->envvar); } void jtagcore_setScriptOutputFunc( script_ctx * ctx, SCRIPT_PRINTF_FUNC ext_printf ) diff --git a/lib_jtag_core/src/version.h b/lib_jtag_core/src/version.h index ba95ece..4bd807b 100644 --- a/lib_jtag_core/src/version.h +++ b/lib_jtag_core/src/version.h @@ -1,9 +1,9 @@ #define VDIG1 2 #define VDIG2 6 #define VDIG3 3 -#define VDIG4 1 +#define VDIG4 2 -#define STR_DATE "18 Dec 2023" +#define STR_DATE "19 Dec 2023" #define vxstr(s) vstr(s) #define vstr(s) #s