Setting up a JSON configuration file to change LED paths without recompiling 93/15093/3 5.99.2 flounder/5.99.2 flounder_5.99.2
authorYordan Dimitrov <y.dimitrov.14@gmail.com>
Sat, 7 Jul 2018 08:07:58 +0000 (11:07 +0300)
committerYordan Dimitrov <y.dimitrov.14@gmail.com>
Tue, 10 Jul 2018 11:37:27 +0000 (14:37 +0300)
commit1aa5a65601669dc33c1ce8729ca607d847985a44
treee06de02170cc6769d2d1f7f33501e255581d0b98
parentf18741520f54365141d997fe7a7a40d0b8f9bc5e
Setting up a JSON configuration file to change LED paths without recompiling

v1

- the change allows the paths to the LED folders to be changed without
  having to recompile the widget
- the JSON file itself is included in this commit with the name "hvac.json"
- the location which the parser expects the configuration
  file to be in is /etc

v2

- optimised code in terms of opening and closing paths for writing
- put afb header definitions together

v3

- removed all caps warning notifications

Change-Id: If075c6650d8802849cbd706be4adbca9f1996c9e
Signed-off-by: Yordan Dimitrov <y.dimitrov.14@gmail.com>
binding/hvac-demo-binding.c
hvac.json [new file with mode: 0644]