Buttons management (WIP)

This commit is contained in:
philippe44
2020-01-01 19:53:23 -08:00
parent b268d2e8b0
commit 9230b10de6
6 changed files with 412 additions and 1 deletions

View File

@@ -46,6 +46,7 @@
#include "squeezelite-ota.h"
#include <math.h>
#include "config.h"
#include "audio_controls.h"
extern bool enable_bt_sink;
extern bool enable_airplay;
@@ -375,11 +376,13 @@ void app_main()
}
ESP_LOGD(TAG,"Configuring Green led");
led_config(LED_GREEN, LED_GREEN_GPIO, 0);
ESP_LOGD(TAG,"Configuring Red led");
led_config(LED_RED, LED_RED_GPIO, 0);
ESP_LOGD(TAG,"Initializing audio control buttons");
audio_controls_init();
/* start the wifi manager */
ESP_LOGD(TAG,"Blinking led");
led_blink(LED_GREEN, 250, 250);