init and deinit
This commit is contained in:
@@ -47,29 +47,6 @@ jtag_core * jtagcore_init()
|
||||
if ( jc )
|
||||
{
|
||||
memset( jc, 0, sizeof(jtag_core) );
|
||||
/*
|
||||
jc->envvar = (void*)initEnv(NULL, NULL);
|
||||
|
||||
jtagcore_setEnvVar( jc, "LIBVERSION", "v"jtag_core_VERSION);
|
||||
|
||||
sctx = jtagcore_initScript(jc);
|
||||
|
||||
jtagcore_execScriptRam( sctx, config_script, config_script_len );
|
||||
|
||||
jtagcore_execScriptFile( sctx, "config.script" );
|
||||
|
||||
if(jtagcore_getEnvVar( jc, "LOG_MESSAGES_FILTER_LEVEL", NULL))
|
||||
{
|
||||
jtagcore_set_logs_level( jc, jtagcore_getEnvVarValue( jc, "LOG_MESSAGES_FILTER_LEVEL") );
|
||||
}
|
||||
|
||||
if(jtagcore_getEnvVar( jc, "LOG_MESSAGES_FILE_OUTPUT", NULL))
|
||||
{
|
||||
jtagcore_set_logs_file( jc, jtagcore_getEnvVar( jc, "LOG_MESSAGES_FILE_OUTPUT", NULL) );
|
||||
}
|
||||
|
||||
jtagcore_deinitScript(sctx);
|
||||
*/
|
||||
}
|
||||
|
||||
return jc;
|
||||
|
||||
Reference in New Issue
Block a user