more short and clear

This commit is contained in:
h31p 2021-11-22 01:49:51 +02:00
parent 0e4bc7fc2a
commit 0b2e9bd16d
1 changed files with 1 additions and 7 deletions

View File

@ -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)