mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	[opentherm] Add nolint for 8266 static global (#7837)
This commit is contained in:
		| @@ -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 | ||||||
| }; | }; | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user