[nextion] clang-tidy fixes for #7822 (#7852)

This commit is contained in:
Keith Burzinski 2024-11-26 03:52:57 -06:00 committed by GitHub
parent 1c2d2bce5a
commit 536bcab5de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -343,7 +343,7 @@ void Nextion::process_serial_() {
}
// nextion.tech/instruction-set/
void Nextion::process_nextion_commands_() {
if (this->command_data_.length() == 0) {
if (this->command_data_.empty()) {
return;
}