From e412178cc0ac1e8b579a3ccd44604d454e90f305 Mon Sep 17 00:00:00 2001 From: msp Date: Thu, 27 Oct 2022 13:49:43 -0400 Subject: [PATCH] cancel turning off I2S - it sends ESP to sleep ? --- main/espd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main/espd.c b/main/espd.c index 9823388..d4b07ed 100644 --- a/main/espd.c +++ b/main/espd.c @@ -105,10 +105,12 @@ static int audiostate; void sys_set_audio_state(int onoff) { +/* if (onoff && !audiostate) i2s_start(I2S_NUM_0); else if (!onoff && audiostate) i2s_stop(I2S_NUM_0); +*/ audiostate = onoff; }