Skip to content

Commit

Permalink
AP_Mount: Do not perform unnecessary processing
Browse files Browse the repository at this point in the history
  • Loading branch information
laozhou-fujian committed Apr 25, 2024
1 parent 3b130b3 commit f745577
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/AP_Mount/AP_Mount_Topotek.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ bool AP_Mount_Topotek::set_tracking(TrackingType tracking_type, const Vector2f&
// set camera picture-in-picture mode
bool AP_Mount_Topotek::set_lens(uint8_t lens)
{
GCS_SEND_TEXT(MAV_SEVERITY_INFO, "lens: %d", (int)lens);
// exit immediately if not initialised
if (!_initialised) {
return false;
Expand Down

0 comments on commit f745577

Please sign in to comment.