mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 01:18:29 -04:00
AP_Scripting: include extern-hal line to fix compilation
this external line was coming in from a header file somewhere...
This commit is contained in:
parent
37a9fd4e14
commit
3f34eb12b0
@ -2924,6 +2924,8 @@ int main(int argc, char **argv) {
|
|||||||
// for set_and_print_new_error_message deprecate warning
|
// for set_and_print_new_error_message deprecate warning
|
||||||
fprintf(source, "#include <AP_Scripting/lua_scripts.h>\n");
|
fprintf(source, "#include <AP_Scripting/lua_scripts.h>\n");
|
||||||
|
|
||||||
|
fprintf(source, "extern const AP_HAL::HAL& hal;\n");
|
||||||
|
|
||||||
trace(TRACE_GENERAL, "Starting emission");
|
trace(TRACE_GENERAL, "Starting emission");
|
||||||
|
|
||||||
emit_headers(source);
|
emit_headers(source);
|
||||||
|
Loading…
Reference in New Issue
Block a user