AP_InternalError: add internal error for out-of-range bitmask ops

This commit is contained in:
Peter Barker 2019-04-16 14:49:09 +10:00 committed by Andrew Tridgell
parent 9d4bdbf3d5
commit fc71e1ba53
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ public:
spi_fail = (1U << 14), spi_fail = (1U << 14),
main_loop_stuck = (1U << 15), main_loop_stuck = (1U << 15),
gcs_bad_missionprotocol_link= (1U << 16), gcs_bad_missionprotocol_link= (1U << 16),
bitmask_range = (1U << 17),
}; };
void error(const AP_InternalError::error_t error); void error(const AP_InternalError::error_t error);