From c6041aa01659778d0bb0aedf9c1ee4ea1d6519b1 Mon Sep 17 00:00:00 2001 From: Peter Englmaier Date: Tue, 6 Feb 2024 21:33:04 +0100 Subject: [PATCH] Fix bugs introduced by refactoring --- drivers/focuser/alluna_tcs2.cpp | 2 +- drivers/focuser/alluna_tcs2.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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