Skip to content
Snippets Groups Projects
Commit b06a286a authored by Alberto Bursi's avatar Alberto Bursi Committed by Jo-Philipp Wich
Browse files

base-files: cleanup led functions in uci-defaults.sh


create a function with code common to all led functions,
create another function with code common to functions setting
a simple led trigger, restore alphabetical order in function names.

Signed-off-by: default avatarAlberto Bursi <alberto.bursi@outlook.it>
[Jo-Philipp Wich: use a single underscore to denote private functions]
Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent aa8e91a1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment