In my code I have two ISGetProperties functions that call eachother:
// the first
void ISGetProperties(const char *dev)
{
if(dev && strcmp(mydev, dev)) return;
ISInit();
mydriverclass->ISGetProperties(dev);
}
// and the second
void MyDriverClass::ISGetProperties(const char *dev)
{
INDI::Telescope::ISGetProperties(dev);
// some unrelated code here
addAuxControls();
}
unfortunately I could not find where to put the following code:
I suppose the second to be the function I should change, but the deleteProperty calls do not work either before or after the call to the INDI::Telescope::ISGetProperties(dev) function. What am I doing wrong?