mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_Scripting: allow maunal apobject bindings
This commit is contained in:
parent
8031dd2be8
commit
e7ee0ce526
@ -1111,8 +1111,11 @@ void handle_ap_object(void) {
|
||||
}
|
||||
string_copy(&(node->dependency), depends);
|
||||
|
||||
} else if (strcmp(type, keyword_manual) == 0) {
|
||||
handle_manual(node, ALIAS_TYPE_MANUAL);
|
||||
|
||||
} else {
|
||||
error(ERROR_SINGLETON, "AP_Objects only support renames, methods or semaphore keyowrds (got %s)", type);
|
||||
error(ERROR_SINGLETON, "AP_Objects only support renames, methods, semaphore or manual keywords (got %s)", type);
|
||||
}
|
||||
|
||||
// check that we didn't just add 2 singleton flags
|
||||
|
Loading…
Reference in New Issue
Block a user