Simplify the IVTHeatpumpIR class
This commit is contained in:
parent
5343bc0b6c
commit
814090cbe2
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
#ifndef IVTHeatpumpIR_h
|
||||
#define IVTHeatpumpIR_h
|
||||
|
||||
#include <HeatpumpIR.h>
|
||||
#include <SharpHeatpumpIR.h>
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue