From e7471c5fe5b8dea6edf240603d520774d8bf0b39 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Wed, 21 Jan 2015 12:25:57 +0900 Subject: [PATCH] DataFlash: fix message id and CURR formatting --- libraries/DataFlash/DataFlash.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libraries/DataFlash/DataFlash.h b/libraries/DataFlash/DataFlash.h index 92a0699405..b120e9aa6e 100644 --- a/libraries/DataFlash/DataFlash.h +++ b/libraries/DataFlash/DataFlash.h @@ -555,7 +555,7 @@ Format characters in the format string for binary log messages { LOG_ARSP_MSG, sizeof(log_AIRSPEED), \ "ARSP", "Iffcff", "TimeMS,Airspeed,DiffPress,Temp,RawPress,Offset" }, \ { LOG_CURRENT_MSG, sizeof(log_Current), \ - "CURR", "Ihhhhfh","TimeMS,Throttle,Volt,Curr,Vcc,CurrTot,Volt2" },\ + "CURR", "IhhhHfh","TimeMS,Throttle,Volt,Curr,Vcc,CurrTot,Volt2" },\ { LOG_ATTITUDE_MSG, sizeof(log_Attitude),\ "ATT", "IccccCCCC", "TimeMS,DesRoll,Roll,DesPitch,Pitch,DesYaw,Yaw,ErrRP,ErrYaw" }, \ { LOG_COMPASS_MSG, sizeof(log_Compass), \ @@ -661,11 +661,11 @@ Format characters in the format string for binary log messages #define LOG_BAR2_MSG 163 #define LOG_ARSP_MSG 164 #define LOG_ATTITUDE_MSG 165 -#define LOG_CURRENT_MSG 165 -#define LOG_COMPASS_MSG 166 -#define LOG_COMPASS2_MSG 167 -#define LOG_COMPASS3_MSG 168 -#define LOG_MODE_MSG 169 +#define LOG_CURRENT_MSG 166 +#define LOG_COMPASS_MSG 167 +#define LOG_COMPASS2_MSG 168 +#define LOG_COMPASS3_MSG 169 +#define LOG_MODE_MSG 170 // message types 200 to 210 reversed for GPS driver use // message types 211 to 220 reversed for autotune use