AP_InternalError: specify size for error_t

This commit is contained in:
Peter Barker 2021-06-12 12:05:12 +10:00 committed by Peter Barker
parent 4307390820
commit ce4ca0ac08

View File

@ -36,7 +36,7 @@ public:
// 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 : uint32_t { // Hex Decimal
logger_mapfailure = (1U << 0), // 0x00001 1
logger_missing_logstructure = (1U << 1), // 0x00002 2
logger_logwrite_missingfmt = (1U << 2), // 0x00004 4