mirror of
https://github.com/esphome/esphome.git
synced 2025-02-17 16:53:13 +01:00
fix some CI Lint requests
This commit is contained in:
parent
fcffaa5857
commit
b541883582
2 changed files with 1 additions and 6 deletions
|
@ -47,7 +47,7 @@ void ESPNowComponent::dump_config() {
|
|||
ESP_LOGCONFIG(TAG, " Auto add new peers: %s.", this->auto_add_peer_ ? "Yes" : "No");
|
||||
|
||||
ESP_LOGCONFIG(TAG, " Use sent status: %s.", this->use_sent_check_ ? "Yes" : "No");
|
||||
ESP_LOGCONFIG(TAG, " Conversation timeout: %dms.", this->conformation_timeout_);
|
||||
ESP_LOGCONFIG(TAG, " Conversation timeout: %" PRIx32 "ms.", this->conformation_timeout_);
|
||||
ESP_LOGCONFIG(TAG, " Send retries: %d.", this->retries_);
|
||||
}
|
||||
|
||||
|
|
|
@ -111,11 +111,6 @@ struct ESPNowPacket {
|
|||
valid &= (this->get_protocol() != 0);
|
||||
return valid;
|
||||
}
|
||||
|
||||
protected:
|
||||
static uint32_t protocol_(const uint8_t *protocol) {
|
||||
return (*(protocol + 2) << 0) + (*(protocol + 1) << 8) + (*(protocol + 0) << 16);
|
||||
}
|
||||
};
|
||||
|
||||
class ESPNowComponent;
|
||||
|
|
Loading…
Add table
Reference in a new issue