mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-27 01:07:15 +02:00
IDF release/v4.0 08219f3cf
This commit is contained in:
@ -41,7 +41,9 @@
|
||||
|
||||
#include "arch/sys_arch.h"
|
||||
|
||||
#ifndef BYTE_ORDER
|
||||
#define BYTE_ORDER LITTLE_ENDIAN
|
||||
#endif // BYTE_ORDER
|
||||
|
||||
typedef uint8_t u8_t;
|
||||
typedef int8_t s8_t;
|
||||
@ -50,7 +52,7 @@ typedef int16_t s16_t;
|
||||
typedef uint32_t u32_t;
|
||||
typedef int32_t s32_t;
|
||||
|
||||
typedef unsigned long mem_ptr_t;
|
||||
|
||||
typedef int sys_prot_t;
|
||||
|
||||
#define S16_F "d"
|
||||
|
@ -80,7 +80,7 @@ typedef struct sys_mbox_s {
|
||||
* However, if the sys_mbox_set_invalid() is not called after sys_mbox_free(), e.g. in netconn_alloc(),
|
||||
* we need to initialize the mbox to invalid explicitly since sys_mbox_set_invalid() now is empty.
|
||||
*/
|
||||
#define sys_mbox_set_invalid( x )
|
||||
#define sys_mbox_set_invalid( x ) *x = NULL
|
||||
|
||||
#define sys_sem_valid( x ) ( ( ( *x ) == NULL) ? pdFALSE : pdTRUE )
|
||||
#define sys_sem_set_invalid( x ) ( ( *x ) = NULL )
|
||||
|
Reference in New Issue
Block a user