AP_Scripting: script switching system

Co-authored-by:Henry Wurzburg (hwurzburg@yahoo.com)
This commit is contained in:
Andrew Tridgell
2022-12-19 11:58:35 +11:00
parent 128a6430de
commit ea89f04a56
7 changed files with 222 additions and 0 deletions

View File

@@ -317,6 +317,12 @@ bool AP_Scripting::arming_checks(size_t buflen, char *buffer) const
return true;
}
void AP_Scripting::scripting_restart()
{
_stop = true;
_restart = true;
}
AP_Scripting *AP_Scripting::_singleton = nullptr;
namespace AP {