From 47b04c2f8436b5e5579506b7218bbb03de2af2e8 Mon Sep 17 00:00:00 2001 From: muramura Date: Wed, 10 Jul 2024 06:51:31 +0900 Subject: [PATCH] AP_Mount: Increment the serial instance --- libraries/AP_Mount/AP_Mount.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_Mount/AP_Mount.cpp b/libraries/AP_Mount/AP_Mount.cpp index 811bb9a396175..777256cb050a9 100644 --- a/libraries/AP_Mount/AP_Mount.cpp +++ b/libraries/AP_Mount/AP_Mount.cpp @@ -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 }