summaryrefslogtreecommitdiff
path: root/nuttx/configs/ez80f910200zco/src/ez80f910200zco.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/ez80f910200zco/src/ez80f910200zco.h')
-rw-r--r--nuttx/configs/ez80f910200zco/src/ez80f910200zco.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/nuttx/configs/ez80f910200zco/src/ez80f910200zco.h b/nuttx/configs/ez80f910200zco/src/ez80f910200zco.h
index 4f2424c5f..f7612d694 100644
--- a/nuttx/configs/ez80f910200zco/src/ez80f910200zco.h
+++ b/nuttx/configs/ez80f910200zco/src/ez80f910200zco.h
@@ -40,6 +40,10 @@
* Included Files
****************************************************************************/
+#ifndef __ASSEMBLY__
+# include <stdint.h>
+#endif
+
/****************************************************************************
* Definitions
****************************************************************************/
@@ -64,8 +68,8 @@
#define EZ80_TRIGGERS EZ80_LEDCATHODE
#define EZ80_GPIODATA 0x800002 /* RD/WR: GPIO data */
-#define ez80_getmmreg8(a) (*(ubyte*)(a))
-#define ez80_putmmreg8(v,a) (*(ubyte*)(a) = (v))
+#define ez80_getmmreg8(a) (*(uint8_t*)(a))
+#define ez80_putmmreg8(v,a) (*(uint8_t*)(a) = (v))
/* LED anode/GPIO port output control bit definitions */