mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-05 07:54:18 +01:00
As well as previous commits, remove ..._config.h header in favour of .cpp Refactor loop to only use the `Led` instance, without needing to know it's ID. Link relay<->led on demand instead of using a flat list. Import LedPattern implementation into the .cpp, preserve existing .in file to generate the constructor code (when needed). Use accessor methods instead of plain members where possible, try to hide the actual implementation details behind some common ones. Introduce default settings query for `led` prefix. Setting function reworked to use common string `prefix` checker instead of requiring the consumer to provide a onKeyCheck-like lambda / standalone function.