diff --git a/libraries/DataFlash/DataFlash.h b/libraries/DataFlash/DataFlash.h index 4ce0cce904..d5d4d1f9db 100644 --- a/libraries/DataFlash/DataFlash.h +++ b/libraries/DataFlash/DataFlash.h @@ -130,26 +130,6 @@ protected: #define HEAD_BYTE1 0xA3 // Decimal 163 #define HEAD_BYTE2 0x95 // Decimal 149 -/* -Format characters in the format string for binary log messages - b : int8_t - B : uint8_t - h : int16_t - H : uint16_t - i : int32_t - I : uint32_t - f : float - n : char[4] - N : char[16] - Z : char[64] - c : int16_t * 100 - C : uint16_t * 100 - e : int32_t * 100 - E : uint32_t * 100 - L : int32_t latitude/longitude - M : uint8_t flight mode - */ - // structure used to define logging format struct LogStructure { uint8_t msg_type; @@ -499,6 +479,26 @@ struct PACKED log_AIRSPEED { float offset; }; +/* +Format characters in the format string for binary log messages + b : int8_t + B : uint8_t + h : int16_t + H : uint16_t + i : int32_t + I : uint32_t + f : float + n : char[4] + N : char[16] + Z : char[64] + c : int16_t * 100 + C : uint16_t * 100 + e : int32_t * 100 + E : uint32_t * 100 + L : int32_t latitude/longitude + M : uint8_t flight mode + */ + // messages for all boards #define LOG_BASE_STRUCTURES \ { LOG_FORMAT_MSG, sizeof(log_Format), \