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