From b08dc19c24559d6bb74831866f27431486984673 Mon Sep 17 00:00:00 2001 From: Jasem Mutlaq Date: Tue, 9 Apr 2024 13:09:50 +0300 Subject: [PATCH] No need to use getName with new properties --- drivers/rotator/pegasus_falcon.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/rotator/pegasus_falcon.cpp b/drivers/rotator/pegasus_falcon.cpp index 708da9d838..a5fd0e87bb 100644 --- a/drivers/rotator/pegasus_falcon.cpp +++ b/drivers/rotator/pegasus_falcon.cpp @@ -94,9 +94,9 @@ bool PegasusFalcon::updateProperties() else { // Main Control - deleteProperty(DerotateNP.getName()); - deleteProperty(FirmwareTP.getName()); - deleteProperty(ReloadFirmwareSP.getName()); + deleteProperty(DerotateNP); + deleteProperty(FirmwareTP); + deleteProperty(ReloadFirmwareSP); } return true;