AP_InternalError: add warning on the internal error_t type

This commit is contained in:
Peter Barker 2020-04-30 15:14:00 +10:00 committed by Peter Barker
parent 70a9abfaff
commit 446dc61979
1 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,10 @@ public:
// of thing. Examples of what NOT to put in here - sd card // of thing. Examples of what NOT to put in here - sd card
// filling up, bad input received from GCS, GPS unit was working // filling up, bad input received from GCS, GPS unit was working
// and now is not. // and now is not.
// note that this map is an internal ArduPilot fixture and is
// prone to change at regular intervals. The meanings of these
// bits can change day-to-day.
enum class error_t { // Hex Decimal enum class error_t { // Hex Decimal
logger_mapfailure = (1U << 0), // 0x00001 1 logger_mapfailure = (1U << 0), // 0x00001 1
logger_missing_logstructure = (1U << 1), // 0x00002 2 logger_missing_logstructure = (1U << 1), // 0x00002 2