Remove unnecessary ellipsis (#8964)
This commit is contained in:
1 parent
8cbe2b41f6
commit
6675e99862
91 files changed
+179
-181
No files matched your search
@@ -19,11 +19,11 @@ void UARTSwitch::loop() {
|
||||
|
||||
void UARTSwitch::write_command_(bool state) {
|
||||
if (state && !this->data_on_.empty()) {
|
||||
ESP_LOGD(TAG, "'%s': Sending on data...", this->get_name().c_str());
|
||||
ESP_LOGD(TAG, "'%s': Sending on data", this->get_name().c_str());
|
||||
this->write_array(this->data_on_.data(), this->data_on_.size());
|
||||
}
|
||||
if (!state && !this->data_off_.empty()) {
|
||||
ESP_LOGD(TAG, "'%s': Sending off data...", this->get_name().c_str());
|
||||
ESP_LOGD(TAG, "'%s': Sending off data", this->get_name().c_str());
|
||||
this->write_array(this->data_off_.data(), this->data_off_.size());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user