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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user