mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-08 12:37:01 +03:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user