Redefine the data type

Dependents:   8-0_OneNet_IoT_demo onenet_EDP STM32F103C8T6_OneNet_IoT

Files at this revision

API Documentation at this revision

Comitter:
TaylorGy
Date:
Wed Mar 29 03:06:58 2017 +0000
Commit message:
Redefine the data type.

Changed in this revision

Common.h Show annotated file Show diff for this revision Revisions of this file
diff -r 000000000000 -r ea00e3a8793b Common.h
--- /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__ */