jasoncoon / esp8266-fastled-webserver

GNU General Public License v3.0
714 stars 359 forks source link

Fields: Code Cleanup: move non-field functionality to other file #220

Open henrygab opened 2 years ago

henrygab commented 2 years ago

_Originally posted by @tobi01001 in https://github.com/jasoncoon/esp8266-fastled-webserver/pull/216#discussion_r757542649_

In particular, the following should be moved elsewhere:

Consider also making some function templates to further consolidate the functions for get/set of the variables. This should reduce bugs when needing to add new functionality (such as websocket transmissions on value changes), for example.