mirror of
https://github.com/esphome/esphome.git
synced 2024-12-27 07:51:43 +01:00
disabling some CI LINT warnings
This commit is contained in:
parent
8ee56d695e
commit
e6356cbde3
2 changed files with 6 additions and 4 deletions
|
@ -33,7 +33,9 @@ static void application_task(void *param) {
|
|||
ESPNowComponent *application = (ESPNowComponent *) param;
|
||||
application->runner();
|
||||
}
|
||||
ESPNowComponent *ESPNowComponent::static_{nullptr};
|
||||
|
||||
ESPNowComponent *ESPNowComponent::static_{nullptr}; // NOLINT
|
||||
|
||||
/* ESPNowPacket ********************************************************************** */
|
||||
|
||||
ESPNowPacket::ESPNowPacket(uint64_t peer, const uint8_t *data, uint8_t size, uint32_t protocol) {
|
||||
|
@ -67,7 +69,7 @@ bool ESPNowPacket::is_valid() {
|
|||
|
||||
/* ESPNowComponent ********************************************************************** */
|
||||
|
||||
ESPNowComponent::ESPNowComponent() { ESPNowComponent::static_ = this; }
|
||||
ESPNowComponent::ESPNowComponent() { ESPNowComponent::static_ = this; } // NOLINT
|
||||
|
||||
void ESPNowComponent::dump_config() {
|
||||
ESP_LOGCONFIG(TAG, "esp_now:");
|
||||
|
@ -198,7 +200,7 @@ esp_err_t ESPNowComponent::del_peer(uint64_t addr) {
|
|||
|
||||
ESPNowDefaultProtocol *ESPNowComponent::get_default_protocol() {
|
||||
if (this->protocols_[ESPNOW_MAIN_PROTOCOL_ID] == nullptr) {
|
||||
this->default_protocol_ = new ESPNowDefaultProtocol();
|
||||
this->default_protocol_ = new ESPNowDefaultProtocol(); // NOLINT
|
||||
this->register_protocol(this->default_protocol_);
|
||||
}
|
||||
return (ESPNowDefaultProtocol *) this->protocols_[ESPNOW_MAIN_PROTOCOL_ID];
|
||||
|
|
|
@ -234,7 +234,7 @@ class ESPNowComponent : public Component {
|
|||
|
||||
TaskHandle_t espnow_task_handle_{nullptr};
|
||||
|
||||
static ESPNowComponent *static_;
|
||||
static ESPNowComponent *static_; // NOLINT
|
||||
};
|
||||
|
||||
template<typename... Ts> class SendAction : public Action<Ts...>, public Parented<ESPNowComponent> {
|
||||
|
|
Loading…
Reference in a new issue