mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 14:43:51 +00:00
Fix some typos found by codespell (#3598)
This commit is contained in:
@@ -161,7 +161,7 @@ bool SonoffD1Output::write_command_(uint8_t *cmd, const size_t len, bool needs_a
|
||||
return false;
|
||||
}
|
||||
if ((cmd[5] + 7 /*mandatory header + suffix length*/) != len) {
|
||||
ESP_LOGW(TAG, "[%04d] Payload length field does not match packet lenght (%d, expected %d)", this->write_count_,
|
||||
ESP_LOGW(TAG, "[%04d] Payload length field does not match packet length (%d, expected %d)", this->write_count_,
|
||||
cmd[5], len - 7);
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user