From 814090cbe269cc26f7e599d698ebe87457fde987 Mon Sep 17 00:00:00 2001 From: ToniA Date: Fri, 30 Dec 2016 11:14:53 +0200 Subject: [PATCH] Simplify the IVTHeatpumpIR class --- IVTHeatpumpIR.cpp | 7 +------ IVTHeatpumpIR.h | 2 -- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/IVTHeatpumpIR.cpp b/IVTHeatpumpIR.cpp index 1b90fcc..8548a2a 100644 --- a/IVTHeatpumpIR.cpp +++ b/IVTHeatpumpIR.cpp @@ -7,12 +7,7 @@ IVTHeatpumpIR::IVTHeatpumpIR() : SharpHeatpumpIR() static const char PROGMEM info[] PROGMEM = "{\"mdl\":\"ivt\",\"dn\":\"IVT AY-XP12FR-N\",\"mT\":18,\"xT\":32,\"fs\":3,\"maint\":[10]}}"; _model = model; - _info = info; -} + _info = info; -void IVTHeatpumpIR::send(IRSender& IR, uint8_t powerModeCmd, uint8_t operatingModeCmd, uint8_t fanSpeedCmd, uint8_t temperatureCmd, uint8_t swingVCmd, uint8_t swingHCmd) -{ _sharpModel = MODEL_IVT; - - SharpHeatpumpIR::send(IR, powerModeCmd, operatingModeCmd, fanSpeedCmd, temperatureCmd, swingVCmd, swingHCmd); } diff --git a/IVTHeatpumpIR.h b/IVTHeatpumpIR.h index 0ea2dc2..5e2c8be 100644 --- a/IVTHeatpumpIR.h +++ b/IVTHeatpumpIR.h @@ -6,7 +6,6 @@ #ifndef IVTHeatpumpIR_h #define IVTHeatpumpIR_h -#include #include @@ -14,7 +13,6 @@ class IVTHeatpumpIR : public SharpHeatpumpIR { public: IVTHeatpumpIR(); - void send(IRSender& IR, uint8_t powerModeCmd, uint8_t operatingModeCmd, uint8_t fanSpeedCmd, uint8_t temperatureCmd, uint8_t swingVCmd, uint8_t swingHCmd); }; #endif