AP_Scripting: Enforce a time limit for a script

This commit is contained in:
Michael du Breuil authored and WickedShell committed 2018-11-14 01:41:35 +00:00
1 parent d824cf0a40
commit b0a84ab7cf
4 files changed
+44 -8

No files matched your search

-4
View File
@@ -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);
}