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;