mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-31 15:41:02 +08:00
feat(esp8266): Modify old system APIs to new ones
This commit is contained in:
@ -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
|
||||
|
||||
/**
|
||||
* @}
|
||||
|
Reference in New Issue
Block a user