mirror of
https://github.com/esphome/esphome.git
synced 2026-02-18 23:45:40 -07:00
bc6d88fabe7505f43f0941f3883135523a96e9dc
Instead of copying the format string from flash to RAM before formatting, use vsnprintf_P to read the format string directly from flash memory. This eliminates: - The byte-by-byte copy loop from PROGMEM - The complex dual-purpose buffer management - Potential buffer overflow if format string is very long The new format_body_to_buffer_P_() function is a simple variant that uses vsnprintf_P instead of vsnprintf.
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
362 MiB
Languages
C++
64.2%
Python
35.5%
C
0.2%
