diff options
author | danicampora <danicampora@gmail.com> | 2015-02-21 22:24:41 +0100 |
---|---|---|
committer | danicampora <danicampora@gmail.com> | 2015-02-21 22:24:41 +0100 |
commit | 1cf82a9800f526127066118d83b16bf0efa579c6 (patch) | |
tree | e790e94c168626cb94e75c986c41dcc93076e729 /drivers/cc3100/src | |
parent | 5ca1f5f9d958d2222e439ca6a34cb8f014ce98d3 (diff) | |
download | micropython-1cf82a9800f526127066118d83b16bf0efa579c6.tar.gz micropython-1cf82a9800f526127066118d83b16bf0efa579c6.zip |
drivers/cc3100: Make wlan.c closer to TI original file.
Diffstat (limited to 'drivers/cc3100/src')
-rw-r--r-- | drivers/cc3100/src/wlan.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/cc3100/src/wlan.c b/drivers/cc3100/src/wlan.c index 0cc825439f..66c8333d65 100644 --- a/drivers/cc3100/src/wlan.c +++ b/drivers/cc3100/src/wlan.c @@ -39,7 +39,6 @@ /*****************************************************************************/ /* Include files */ /*****************************************************************************/ -#include <string.h> #include "simplelink.h" #include "protocol.h" #include "driver.h" @@ -76,9 +75,7 @@ _i16 sl_WlanConnect(_i8* pName, _i16 NameLen, _u8 *pMacAddr, SlSecParams_t* pSe _SlWlanConnectMsg_u Msg; _SlCmdCtrl_t CmdCtrl; - // Clear the above structures - memset (&Msg, 0, sizeof(Msg)); - memset (&CmdCtrl, 0, sizeof(CmdCtrl)); + sl_Memset (&Msg, 0, sizeof(Msg)); CmdCtrl.TxDescLen = 0;/* init */ CmdCtrl.RxDescLen = sizeof(_BasicResponse_t); |