mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Update nolint take 2
This commit is contained in:
		| @@ -4,7 +4,7 @@ namespace esphome { | ||||
| namespace ota { | ||||
|  | ||||
| #ifdef USE_OTA_STATE_CALLBACK | ||||
| OTAGlobalCallback *global_ota_component = new OTAGlobalCallback;  // NOLINT(cppcoreguidelines-owning-memory) | ||||
| OTAGlobalCallback *global_ota_component = new OTAGlobalCallback;  // NOLINT | ||||
| #endif | ||||
|  | ||||
| }  // namespace ota | ||||
|   | ||||
| @@ -81,7 +81,7 @@ class OTAGlobalCallback { | ||||
|   CallbackManager<void(OTAState, float, uint8_t, OTAComponent *)> state_callback_{}; | ||||
| }; | ||||
|  | ||||
| extern OTAGlobalCallback *global_ota_component;  // NOLINT(cppcoreguidelines-avoid-non-const-global-variables) | ||||
| extern OTAGlobalCallback *global_ota_component;  // NOLINT | ||||
| #endif | ||||
| std::unique_ptr<ota::OTABackend> make_ota_backend(); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user