mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-11-09 16:41:21 +08:00
AP_Scripting: Enforce a time limit for a script
This commit is contained in:
1 parent
d824cf0a40
commit
b0a84ab7cf
4 files changed
+44
-8
No files matched your search
@@ -49,7 +49,3 @@ void load_lua_bindings(lua_State *state) {
|
||||
lua_setglobal(state, "servo");
|
||||
}
|
||||
|
||||
void hook(lua_State *L, lua_Debug *ar) {
|
||||
gcs().send_text(MAV_SEVERITY_INFO, "got a debug hook");
|
||||
lua_error(L);
|
||||
}
|
||||
Reference in new issue
Block a user