From d6ffffd9321daa5fba6c905ff8d364eaa6957970 Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Sun, 7 Dec 2014 18:12:08 +0200 Subject: [PATCH] Fixed the tuning status. --- tuner.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tuner.h b/tuner.h index 7ac5356..8775233 100644 --- a/tuner.h +++ b/tuner.h @@ -106,7 +106,7 @@ protected: public: cSatipTuner(cSatipDeviceIf &deviceP, unsigned int packetLenP); virtual ~cSatipTuner(); - bool IsTuned(void) const { return currentStateM > tsIdle; } + bool IsTuned(void) const { return (currentStateM >= tsTuned); } bool SetSource(cSatipServer *serverP, const char *parameterP, const int indexP); bool SetPid(int pidP, int typeP, bool onP); bool Open(void);