Merge pull request #129 from h31p/gree_yan_fix
fixed typo in GreeHeatpumpIR::sendGree for YAN variant
This commit is contained in:
commit
279ae403af
|
@ -224,14 +224,8 @@ void GreeHeatpumpIR::sendGree(IRSender& IR, uint8_t powerMode, uint8_t operating
|
|||
// Gree YAN-specific
|
||||
if (greeModel == GREE_YAN)
|
||||
{
|
||||
GreeTemplate[2] = 0x60;
|
||||
GreeTemplate[2] = 0x50;
|
||||
|
||||
if (turboMode)
|
||||
{
|
||||
GreeTemplate[2]=0x70;
|
||||
}
|
||||
|
||||
GreeTemplate[2] = turboMode ? 0x70 : 0x60;
|
||||
GreeTemplate[3] = 0x50;
|
||||
GreeTemplate[4] = swingV;
|
||||
}
|
||||
if (greeModel == GREE_YAC)
|
||||
|
@ -339,4 +333,4 @@ void GreeYACHeatpumpIR::send(IRSender& IR, uint8_t currentTemperature)
|
|||
// End mark
|
||||
IR.mark(GREE_YAC_BIT_MARK);
|
||||
IR.space(0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue