more short and clear
This commit is contained in:
parent
0e4bc7fc2a
commit
0b2e9bd16d
|
@ -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] = turboMode ? 0x70 : 0x60;
|
||||
GreeTemplate[3] = 0x50;
|
||||
|
||||
if (turboMode)
|
||||
{
|
||||
GreeTemplate[2]=0x70;
|
||||
}
|
||||
|
||||
GreeTemplate[4] = swingV;
|
||||
}
|
||||
if (greeModel == GREE_YAC)
|
||||
|
|
Loading…
Reference in New Issue