mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-09 13:07:03 +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:
@@ -81,7 +81,7 @@ const static actrls_t controls = {
|
||||
* Airplay taking/giving audio system's control
|
||||
*/
|
||||
void raop_master(bool on) {
|
||||
if (on) actrls_set(controls);
|
||||
if (on) actrls_set(controls, NULL);
|
||||
else actrls_unset();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user