Fix log messages in Zephyr example (#2761)

Fixes typo of function in log messages in Zephyr example.

Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>
This commit is contained in:
Daniel Mangum 2023-11-13 20:27:57 -05:00 committed by GitHub
parent 56bfae774c
commit fc03bc073e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ app_instance_main(wasm_module_inst_t module_inst)
if (wasm_runtime_lookup_function(module_inst, "main", NULL)
|| wasm_runtime_lookup_function(module_inst, "__main_argc_argv",
NULL)) {
LOG_VERBOSE("Calling main funciton\n");
LOG_VERBOSE("Calling main function\n");
wasm_application_execute_main(module_inst, app_argc, app_argv);
}
else if ((func = wasm_runtime_lookup_function(module_inst, "app_main",
@ -80,7 +80,7 @@ app_instance_main(wasm_module_inst_t module_inst)
return NULL;
}
LOG_VERBOSE("Calling app_main funciton\n");
LOG_VERBOSE("Calling app_main function\n");
wasm_runtime_call_wasm(exec_env, func, 0, argv);
if (!wasm_runtime_get_exception(module_inst)) {