[opentherm] Add nolint for 8266 static global (#7837)

This commit is contained in:
Keith Burzinski 2024-11-25 15:57:40 -06:00 committed by GitHub
parent 89ecfc2004
commit b027b6a711
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -370,7 +370,7 @@ class OpenTherm {
#ifdef ESP8266 #ifdef ESP8266
// ESP8266 timer can accept callback with no parameters, so we have this hack to save a static instance of OpenTherm // 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 #endif
}; };