sdlog2: compile fixes after rebase

This commit is contained in:
Julian Oes
2016-04-04 13:24:44 +02:00
parent 50c36296fa
commit 3b806235ac
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2155,7 +2155,7 @@ int sdlog2_thread_main(int argc, char *argv[])
if (copy_if_updated(ORB_ID(vehicle_land_detected), &subs.land_detected_sub, &buf.land_detected)) {
log_msg.msg_type = LOG_LAND_MSG;
log_msg.body.log_LAND.landed = buf.land_detected.landed;
LOGBUFFER_WRITE_AND_COUNT(CTS);
LOGBUFFER_WRITE_AND_COUNT(LAND);
}
pthread_mutex_lock(&logbuffer_mutex);
+1 -1
View File
@@ -582,7 +582,7 @@ struct log_CAMT_s {
uint32_t seq;
};
#define LOG_LAND_MSG 56
#define LOG_LAND_MSG 57
struct log_LAND_s {
uint8_t landed;
};