AP_Camera: remove unused auto_focus from camera state

This commit is contained in:
Randy Mackay 2023-04-29 09:15:51 +09:00
parent 8131b5bc3b
commit b2c31f8ad4

View File

@ -135,7 +135,6 @@ public:
float zoom_value; // percentage or zoom out = -1, hold = 0, zoom in = 1
uint8_t focus_type; // see FocusType enum (1:Rate, 2:Pct, 4:Auto)
float focus_value; // If Rate, focus in = -1, focus hold = 0, focus out = 1. If PCT 0 to 100
bool auto_focus; // true when auto focusing
} camera_state_t;
// accessor to allow scripting backend to retrieve state