Redefine the data type

Dependents:   8-0_OneNet_IoT_demo onenet_EDP STM32F103C8T6_OneNet_IoT

Common.h

Committer:
TaylorGy
Date:
2017-03-29
Revision:
0:ea00e3a8793b

File content as of revision 0:ea00e3a8793b:

#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__ */