Problem with i2s_driver_unistall(1)

JPMJPM
Posts: 23
Joined: Fri Oct 13, 2017 4:35 pm

Problem with i2s_driver_unistall(1)

Postby JPMJPM » Thu Mar 21, 2019 11:59 am

Hi,

I have 2 tasks (A and B) doing different stuff related to I2S interface number 1.

There is an additional task (C) that selects which task has to work, A or B.

Assuming that task A is running, task C do this to run task B :

* i2s_driver_unistall(1)
* delete task A
* create task B

The problem is that i2s_driver_unistall(1) causes ESP32 to freeze.

Any help ?, thanks.

Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 141 guests