Subscription: fix ChangeInstance

This commit is contained in:
Beat Küng
2021-04-27 10:50:31 +02:00
committed by Daniel Agar
parent 1a89f165fd
commit 0a98c5a7f4
+1 -1
View File
@@ -91,7 +91,7 @@ bool Subscription::ChangeInstance(uint8_t instance)
DeviceMaster *device_master = uORB::Manager::get_instance()->get_device_master();
if (device_master != nullptr) {
if (!device_master->deviceNodeExists(_orb_id, _instance)) {
if (!device_master->deviceNodeExists(_orb_id, instance)) {
return false;
}