Skip to content

Commit

Permalink
AP_Mount: Increment the serial instance
Browse files Browse the repository at this point in the history
  • Loading branch information
muramura authored and rmackay9 committed Jul 9, 2024
1 parent f3d55d8 commit 9f6edd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/AP_Mount/AP_Mount.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ void AP_Mount::init()
case Type::Topotek:
_backends[instance] = NEW_NOTHROW AP_Mount_Topotek(*this, _params[instance], instance, serial_instance);
_num_instances++;
serial_instance++;
break;
#endif // HAL_MOUNT_TOPOTEK_ENABLED
}
Expand Down

0 comments on commit 9f6edd8

Please sign in to comment.