forked from espressif/esp-idf
esp32: fix tw6901
1. tw6904 - esp32 mode switch cause exception 2. tw8881 - set mac cause exception 3. Make pm_open/pm_shutdown thread-safe
This commit is contained in:
1. tw6904 - esp32 mode switch cause exception 2. tw8881 - set mac cause exception 3. Make pm_open/pm_shutdown thread-safe