mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_Mount: resolve compiler warning about unused mount_open variable
This commit is contained in:
parent
499bdc1385
commit
34ae673058
@ -253,7 +253,9 @@ void AP_Mount::set_GPS_target_location(Location targetGPSLocation)
|
|||||||
/// This one should be called periodically
|
/// This one should be called periodically
|
||||||
void AP_Mount::update_mount_position()
|
void AP_Mount::update_mount_position()
|
||||||
{
|
{
|
||||||
|
#if MNT_RETRACT_OPTION == ENABLED
|
||||||
static bool mount_open = 0; // 0 is closed
|
static bool mount_open = 0; // 0 is closed
|
||||||
|
#endif
|
||||||
|
|
||||||
switch((enum MAV_MOUNT_MODE)_mount_mode.get())
|
switch((enum MAV_MOUNT_MODE)_mount_mode.get())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user