1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-25 13:13:48 +01:00

Enable readability-qualified-auto check (#3095)

This commit is contained in:
Oxan van Leeuwen
2022-01-23 08:29:58 +01:00
committed by GitHub
parent 7854522792
commit a31700e16f
34 changed files with 59 additions and 58 deletions

View File

@@ -688,7 +688,7 @@ void Nextion::process_nextion_commands_() {
int index = 0;
int found = -1;
for (auto &nb : this->nextion_queue_) {
auto component = nb->component;
auto *component = nb->component;
if (component->get_queue_type() == NextionQueueType::WAVEFORM_SENSOR) {
size_t buffer_to_send = component->get_wave_buffer().size() < 255 ? component->get_wave_buffer().size()
: 255; // ADDT command can only send 255