AP_Mount: Increment the serial instance

This commit is contained in:
muramura 2024-07-10 06:51:31 +09:00 committed by Randy Mackay
parent f3d55d821e
commit 9f6edd8d55
1 changed files with 1 additions and 0 deletions

View File

@ -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
}