optimize climate card

This commit is contained in:
Siwat Sirichai 2024-02-16 23:55:43 +07:00
parent f4af513d65
commit e380606742
3 changed files with 12 additions and 2 deletions

View file

@ -32,7 +32,7 @@ void IRBlaster::send(const uint16_t *data, const size_t size)
items[j].duration1 = 0;
}
}
ESP_ERROR_CHECK(rmt_write_items(channel, items, size / 2 + size % 2, true));
ESP_ERROR_CHECK(rmt_write_items(channel, items, size / 2 + size % 2, false));
delete[] items;
}