From cca361a9424fd959ef0c4a7571404cc05a5c7a60 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Thu, 26 Mar 2020 13:02:06 +0900 Subject: [PATCH] AP_VisualOdom: minor format and comment fixes --- libraries/AP_VisualOdom/AP_VisualOdom.h | 1 - libraries/AP_VisualOdom/AP_VisualOdom_MAV.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/libraries/AP_VisualOdom/AP_VisualOdom.h b/libraries/AP_VisualOdom/AP_VisualOdom.h index 4ea8534ded..5e6499f67d 100644 --- a/libraries/AP_VisualOdom/AP_VisualOdom.h +++ b/libraries/AP_VisualOdom/AP_VisualOdom.h @@ -49,7 +49,6 @@ public: float confidence; // confidence expressed as a value from 0 (no confidence) to 100 (very confident) uint32_t last_sensor_update_ms; // system time (in milliseconds) of last update from sensor uint32_t last_processed_sensor_update_ms; // timestamp of last sensor update that was processed - }; // detect and initialise any sensors diff --git a/libraries/AP_VisualOdom/AP_VisualOdom_MAV.cpp b/libraries/AP_VisualOdom/AP_VisualOdom_MAV.cpp index cf6622b152..a6bd7ba3c9 100644 --- a/libraries/AP_VisualOdom/AP_VisualOdom_MAV.cpp +++ b/libraries/AP_VisualOdom/AP_VisualOdom_MAV.cpp @@ -25,7 +25,7 @@ AP_VisualOdom_MAV::AP_VisualOdom_MAV(AP_VisualOdom &frontend) : { } -// consume VISIOIN_POSITION_DELTA MAVLink message +// consume VISION_POSITION_DELTA MAVLink message void AP_VisualOdom_MAV::handle_msg(const mavlink_message_t &msg) { // decode message