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
muramura committed Aug 30, 2023
1 parent 32830b2 commit 82c9702
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libraries/AP_Mount/AP_Mount_Siyi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ void AP_Mount_Siyi::init()
_uart = serial_manager.find_serial(AP_SerialManager::SerialProtocol_Gimbal, 0);
if (_uart != nullptr) {
_initialised = true;
} else {
return;
}

AP_Mount_Backend::init();
}

Expand Down

0 comments on commit 82c9702

Please sign in to comment.