1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-29 22:24:26 +00:00

Clean-up reverse_bits helpers (#3011)

This commit is contained in:
Oxan van Leeuwen
2022-01-06 12:54:58 +01:00
committed by GitHub
parent 5e1e543b06
commit a4931f5d78
4 changed files with 20 additions and 22 deletions

View File

@@ -35,7 +35,7 @@ void TTP229LSFComponent::loop() {
}
touched = i2c::i2ctohs(touched);
this->status_clear_warning();
touched = reverse_bits_16(touched);
touched = reverse_bits(touched);
for (auto *channel : this->channels_) {
channel->process(touched);
}