mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-08 04:27:12 +03:00
config update
This commit is contained in:
@@ -28,7 +28,7 @@ extern int i2c_system_port;
|
||||
#define SPKFAULT_GPIO 2 // this requires a pull-up, so can't be >34
|
||||
#define LED_GREEN_GPIO 12
|
||||
#define LED_RED_GPIO 13
|
||||
#else
|
||||
#define LED_GREEN_GPIO CONFIG_LED_GREEN_GPIO
|
||||
#define LED_RED_GPIO CONFIG_LED_RED_GPIO
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -69,10 +69,8 @@ void services_init(void) {
|
||||
|
||||
ESP_LOGD(TAG,"Configuring LEDs");
|
||||
led_svc_init();
|
||||
#ifdef CONFIG_SQUEEZEAMP
|
||||
led_config(LED_GREEN, LED_GREEN_GPIO, 0);
|
||||
led_config(LED_RED, LED_RED_GPIO, 0);
|
||||
#endif
|
||||
|
||||
battery_svc_init();
|
||||
monitor_svc_init();
|
||||
|
||||
Reference in New Issue
Block a user