cancel turning off I2S - it sends ESP to sleep ?
This commit is contained in:
parent
2525a0dd11
commit
e412178cc0
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue