mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-27 18:02:17 +03:00
revert some changes and fix wl_definitions
This commit is contained in:
@ -39,16 +39,6 @@
|
||||
#include "user_interface.h"
|
||||
#include "debug.h"
|
||||
|
||||
extern void *__real_pvPortMalloc(size_t xWantedSize, const char* file, int line);
|
||||
extern void *__wrap_pvPortMalloc(size_t xWantedSize, const char* file, int line){
|
||||
return __real_pvPortMalloc(((xWantedSize + 3) & ~((size_t)0x3)), file, line);
|
||||
}
|
||||
|
||||
extern void *__real_pvPortRealloc(void* ptr, size_t xWantedSize, const char* file, int line);
|
||||
extern void *__wrap_pvPortRealloc(void* ptr, size_t xWantedSize, const char* file, int line){
|
||||
return __real_pvPortRealloc(ptr, ((xWantedSize + 3) & ~((size_t)0x3)), file, line);
|
||||
}
|
||||
|
||||
void* ICACHE_RAM_ATTR malloc(size_t size) {
|
||||
size = ((size + 3) & ~((size_t)0x3));
|
||||
return os_malloc(size);
|
||||
|
Reference in New Issue
Block a user