SignalK / SensESP

Universal Signal K sensor framework for the ESP32 platform
https://signalk.org/SensESP/
Apache License 2.0
146 stars 80 forks source link

Allocate enough memory for the "info" json object #610

Closed mairas closed 2 years ago

mairas commented 2 years ago

The "info" json object is generated dynamically in HTTPServer::handle_info. Previously, its required size was estimated only from the number of configurables, omitting the ui_outputs and ui_buttons. This PR fixes that, allowing all UIOutputs to display properly.