Redefine the data type
Dependents: 8-0_OneNet_IoT_demo onenet_EDP STM32F103C8T6_OneNet_IoT
Diff: Common.h
- Revision:
- 0:ea00e3a8793b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Common.h Wed Mar 29 03:06:58 2017 +0000 @@ -0,0 +1,15 @@ +#ifndef __COMMON_H__ +#define __COMMON_H__ + +/*---------------------------------------------------------------------------*/ +/* Type Definition Macros */ +/*---------------------------------------------------------------------------*/ + + typedef unsigned char uint8; + typedef char int8; + typedef unsigned short uint16; + typedef short int16; + typedef unsigned int uint32; + typedef int int32; + typedef unsigned int size_t; +#endif /* __COMMON_H__ */