AP_Scripting: Console output can be disabled

This commit is contained in:
murata 2022-03-21 18:40:15 +09:00 committed by Andrew Tridgell
parent 16d7f69949
commit 6e91b364e0

View File

@ -93,7 +93,7 @@ void lua_scripts::set_and_print_new_error_message(MAV_SEVERITY severity, const c
va_end(arg_list);
// print to cosole and GCS
hal.console->printf("Lua: %s\n", error_msg_buf);
DEV_PRINTF("Lua: %s\n", error_msg_buf);
print_error(severity);
}