finish remapping

- actrls_brd config renamed actrls_config
- get rid of static board definitions
- allow JSON config string to only initialize what it needs
- add control_hook
This commit is contained in:
philippe44
2020-01-17 20:29:14 -08:00
parent 4dbed9ecb4
commit b8570ebce3
8 changed files with 86 additions and 92 deletions

View File

@@ -123,7 +123,7 @@ const static actrls_t controls = {
/* taking/giving audio system's control */
void bt_master(bool on) {
if (on) actrls_set(controls);
if (on) actrls_set(controls, NULL);
else actrls_unset();
}