mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-08-05 22:11:04 +08:00
feat(esp8266): Remove esp typedef
Use standard typedef in stdint.h
This commit is contained in:
@ -33,36 +33,6 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef uint8_t u8_t;
|
||||
typedef int8_t s8_t;
|
||||
typedef uint16_t u16_t;
|
||||
typedef int16_t s16_t;
|
||||
typedef uint32_t u32_t;
|
||||
typedef int32_t s32_t;
|
||||
|
||||
typedef uint8_t uint8;
|
||||
typedef uint8_t u8;
|
||||
typedef int8_t sint8;
|
||||
typedef int8_t int8;
|
||||
typedef int8_t s8;
|
||||
typedef uint16_t uint16;
|
||||
typedef uint16_t u16;
|
||||
typedef int16_t sint16;
|
||||
typedef int16_t s16;
|
||||
typedef uint32_t uint32;
|
||||
typedef uint32_t u_int;
|
||||
typedef uint32_t u32;
|
||||
typedef int32_t sint32;
|
||||
typedef int32_t s32;
|
||||
typedef int32_t int32;
|
||||
typedef int64_t sint64;
|
||||
typedef uint64_t uint64;
|
||||
typedef uint64_t u64;
|
||||
typedef float real32;
|
||||
typedef double real64;
|
||||
|
||||
#define __le16 u16
|
||||
|
||||
#define BIT(nr) (1UL << (nr))
|
||||
|
||||
#define REG_WRITE(_r, _v) (*(volatile uint32 *)(_r)) = (_v)
|
||||
|
Reference in New Issue
Block a user