mirror of
https://github.com/esphome/esphome.git
synced 2024-12-29 00:41:44 +01:00
[opentherm] Add nolint for 8266 static global (#7837)
This commit is contained in:
parent
89ecfc2004
commit
b027b6a711
1 changed files with 1 additions and 1 deletions
|
@ -370,7 +370,7 @@ class OpenTherm {
|
|||
|
||||
#ifdef ESP8266
|
||||
// ESP8266 timer can accept callback with no parameters, so we have this hack to save a static instance of OpenTherm
|
||||
static OpenTherm *instance;
|
||||
static OpenTherm *instance; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue