mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Update esphome/components/web_server/web_server.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
		| @@ -288,6 +288,7 @@ void WebServer::setup() { | |||||||
|     logger::global_logger->add_on_log_callback( |     logger::global_logger->add_on_log_callback( | ||||||
|         // logs are not deferred, the memory overhead would be too large |         // logs are not deferred, the memory overhead would be too large | ||||||
|         [this](int level, const char *tag, const char *message, size_t message_len) { |         [this](int level, const char *tag, const char *message, size_t message_len) { | ||||||
|  |           (void)message_len; | ||||||
|           this->events_.try_send_nodefer(message, "log", millis()); |           this->events_.try_send_nodefer(message, "log", millis()); | ||||||
|         }); |         }); | ||||||
|   } |   } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user