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 d59ff85 commit 32830b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libraries/AP_Mount/AP_Mount_Viewpro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ void AP_Mount_Viewpro::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 32830b2

Please sign in to comment.