Browse Source

AP_InternalError: add a general should-not-be-here bit

master
Peter Barker 5 years ago committed by Randy Mackay
parent
commit
f090f35afa
  1. 1
      libraries/AP_InternalError/AP_InternalError.h

1
libraries/AP_InternalError/AP_InternalError.h

@ -53,6 +53,7 @@ public: @@ -53,6 +53,7 @@ public:
bitmask_range = (1U << 17),
gcs_offset = (1U << 18),
i2c_isr = (1U << 19),
flow_of_control = (1U << 20), // for generic we-should-never-get-here situations
};
void error(const AP_InternalError::error_t error);

Loading…
Cancel
Save