Browse Source
As well as removing the code duplication, this only sets the flag if arming was actually successful. armed-with-switch is used when setting various state, and it isn't entirely clear that we only use it when armed. This would seem to be a safer option.c415-sdk
Peter Barker
5 years ago
committed by
Peter Barker
2 changed files with 11 additions and 17 deletions
Loading…
Reference in new issue