mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-11-09 16:41:21 +08:00
AP_Scripting: add arming check for failed scripts
This commit is contained in:
1 parent
c5c09860da
commit
e2c29b09ab
4 files changed
+35
-8
No files matched your search
@@ -141,4 +141,7 @@ public:
|
||||
// must be static for use in atpanic, public to allow bindings to issue none fatal warnings
|
||||
static void set_and_print_new_error_message(MAV_SEVERITY severity, const char *fmt, ...) FMT_PRINTF(2,3);
|
||||
|
||||
// return last error message, nullptr if none
|
||||
static const char* get_last_error_message() { return error_msg_buf; }
|
||||
|
||||
};
|
||||
Reference in new issue
Block a user