diff --git a/README.md b/README.md index cffbedbe..ad520131 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +![Cross-Build](https://github.com/sle118/squeezelite-esp32/workflows/Cross-Build/badge.svg?branch=master-cmake) # Squeezelite-esp32 ## What is this Squeezelite-esp32 is an audio software suite made to run on espressif's ESP32 wifi (b/g/n) and bluetooth chipset. It offers the following capabilities diff --git a/components/services/accessors.c b/components/services/accessors.c index 1ad137a0..2947f361 100644 --- a/components/services/accessors.c +++ b/components/services/accessors.c @@ -450,16 +450,16 @@ const set_GPIO_struct_t * get_gpio_struct(){ } #ifdef CONFIG_LED_LOCKED - gpio_struct.red.locked=true; - gpio_struct.green.locked=true; + gpio_struct.red.fixed=true; + gpio_struct.green.fixed=true; #endif -#ifdef CONFIG_JACK_LOCKED - gpio_struct.jack.gpio=CONFIG_JACK_GPIO +#ifdef CONFIG_JACK_LOCKED + gpio_struct.jack.gpio=CONFIG_JACK_GPIO; gpio_struct.jack.fixed=true; gpio_struct.jack.level=CONFIG_JACK_GPIO_LEVEL; #endif #ifdef CONFIG_SPKFAULT_LOCKED - gpio_struct.spkfault.gpio=CONFIG_SPKFAULT_GPIO + gpio_struct.spkfault.gpio=CONFIG_SPKFAULT_GPIO; gpio_struct.spkfault.fixed=true; gpio_struct.spkfault.level=CONFIG_SPKFAULT_GPIO_LEVEL; #endif