diff options
| author | Daniel Campora | 2015-05-22 19:53:33 +0200 |
|---|---|---|
| committer | Daniel Campora | 2015-05-22 19:53:33 +0200 |
| commit | ed56b0baba47e4d0697fdc2d81310a9a2c34c5df (patch) | |
| tree | 260ea9aa95a23870487e8b0b24df9f7d41a86269 /cc3200/mptask.c | |
| parent | 18030bd85d77367162162496ee025b7d98ad3c41 (diff) | |
cc3200: Finally unlock the full wake on WLAN feature set.
Diffstat (limited to 'cc3200/mptask.c')
| -rw-r--r-- | cc3200/mptask.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/cc3200/mptask.c b/cc3200/mptask.c index 459d17130..7b730c536 100644 --- a/cc3200/mptask.c +++ b/cc3200/mptask.c @@ -50,6 +50,7 @@ #include "mperror.h" #include "simplelink.h" #include "modnetwork.h" +#include "modusocket.h" #include "modwlan.h" #include "serverstask.h" #include "telnet.h" @@ -255,6 +256,9 @@ soft_reset_exit: // flush the serial flash buffer sflash_disk_flush(); + // clean-up the user socket space + modusocket_close_all_user_sockets(); + #if MICROPY_HW_HAS_SDCARD pybsd_deinit(); #endif @@ -283,9 +287,12 @@ STATIC void mptask_pre_init (void) { // this one allocates memory for the nvic vault pybsleep_pre_init(); - // this one allocates mameory for the WLAN semaphore + // this one allocates memory for the WLAN semaphore wlan_pre_init(); + // this one allocates memory for the Socket semaphore + modusocket_pre_init(); + #if MICROPY_HW_HAS_SDCARD pybsd_init0(); #endif |
