mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-21 19:57:34 +08:00
sdlog2: compile fixes after rebase
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user