diff --git a/drivers/focuser/alluna_tcs2.cpp b/drivers/focuser/alluna_tcs2.cpp index bd9bbc6ee4..28d19c873a 100644 --- a/drivers/focuser/alluna_tcs2.cpp +++ b/drivers/focuser/alluna_tcs2.cpp @@ -542,7 +542,7 @@ bool AllunaTCS2::ISNewNumber(const char *dev, const char *name, double values[], if (dev != nullptr && strcmp(dev, getDeviceName()) == 0) { // Fan Power - if (!FanPowerNP.isNameMatch(name)) + if (FanPowerNP.isNameMatch(name)) { // Try to update settings int power=values[0]; diff --git a/drivers/focuser/alluna_tcs2.h b/drivers/focuser/alluna_tcs2.h index d748f823f9..c16859c0c5 100644 --- a/drivers/focuser/alluna_tcs2.h +++ b/drivers/focuser/alluna_tcs2.h @@ -148,7 +148,6 @@ class AllunaTCS2 : public INDI::Focuser //, public INDI::DustCapInterface /// Class Variables ///////////////////////////////////////////////////////////////////////////// int32_t m_TargetDiff { 0 }; - uint16_t m_TemperatureCounter { 0 }; ///////////////////////////////////////////////////////////////////////////// /// Static Helper Values