feat(esp8266): Modify old system APIs to new ones

This commit is contained in:
Dong Heng
2018-06-25 16:30:38 +08:00
parent c5b9f8ed9d
commit bf0b8c8bb6
17 changed files with 40 additions and 36 deletions

View File

@ -48,6 +48,7 @@
#include <stddef.h>
#include <stdbool.h>
#include "esp_libc.h"
#include "esp_system.h"
//#define SOCKETS_MT
@ -117,7 +118,7 @@
*/
#define SMEMCPY(dst,src,len) memcpy(dst,src,len)
#define LWIP_RAND os_random
#define LWIP_RAND esp_random
/**
* @}