logging fix: do not use same ID for two messages

This commit is contained in:
tumbili 2015-08-13 18:51:55 +02:00
parent 55790d0beb
commit 1dab361c2d
1 changed files with 3 additions and 1 deletions

View File

@ -165,7 +165,7 @@ struct log_GPS_s {
/* --- ATTC - ATTITUDE CONTROLS (ACTUATOR_0 CONTROLS)--- */ /* --- ATTC - ATTITUDE CONTROLS (ACTUATOR_0 CONTROLS)--- */
#define LOG_ATTC_MSG 9 #define LOG_ATTC_MSG 9
#define LOG_ATC1_MSG 40 #define LOG_ATC1_MSG 46
struct log_ATTC_s { struct log_ATTC_s {
float roll; float roll;
float pitch; float pitch;
@ -477,6 +477,8 @@ struct log_MACS_s {
float yaw_rate_integ; float yaw_rate_integ;
}; };
/* WARNING: ID 46 is already in use for ATTC1 */
/********** SYSTEM MESSAGES, ID > 0x80 **********/ /********** SYSTEM MESSAGES, ID > 0x80 **********/
/* --- TIME - TIME STAMP --- */ /* --- TIME - TIME STAMP --- */