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:
Liu Zhi Fu
2016-12-02 17:35:49 +08:00
parent f394632319
commit 9423390c2e