commander: Remove unused error variable

This commit is contained in:
Lorenz Meier
2015-09-12 10:51:52 +02:00
parent 998acf4d08
commit 849b61213c

View File

@@ -64,12 +64,6 @@
#include "commander_helper.h"
#include "PreflightCheck.h"
/* oddly, ERROR is not defined for c++ */
#ifdef ERROR
# undef ERROR
#endif
static const int ERROR = -1;
// This array defines the arming state transitions. The rows are the new state, and the columns
// are the current state. Using new state and current state you can index into the array which
// will be true for a valid transition or false for a invalid transition. In some cases even