thorrak / tiltbridge

Tilt Hydrometer to WiFi Bridge
http://www.tiltbridge.com/
Other
61 stars 27 forks source link

Modified settings parsing with several changes. #36

Closed pletch closed 3 years ago

pletch commented 3 years ago

-Layout of settings.html altered to provide single update button for each section and allow all of the options in that section to be updated at once. Also updated column widths since Update button now centered at bottom of section. -Added option to allow 180 degree rotation of TFT for users with new Lolin TFT V1.1.0 model -Revised integer validation function http_server to return bool result of check and the actual integer value for use simplifying some of the inline checks in ProcessConfig() -Fixed issue where Applycalibration and Temperature correction settings are flushed to false any time the ProcessConfig() function is ran unless explicitly setting these values to true at the time update settings is requested. -Eliminated use of String class in read config function of jsonConfigHandler. -Added various ifdef DEBUG_PRINTS in http_server to ensure not printing to Serial when not enabling debugging -Updated bridge_lcd to respect Invert TFT setting.

pletch commented 3 years ago

I am going to pull this back and chunk up to different commits while incorporating some further refinements.