summaryrefslogtreecommitdiff
path: root/nuttx/arch/z16/src/z16f/z16f_timerisr.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/z16/src/z16f/z16f_timerisr.c')
-rw-r--r--nuttx/arch/z16/src/z16f/z16f_timerisr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/arch/z16/src/z16f/z16f_timerisr.c b/nuttx/arch/z16/src/z16f/z16f_timerisr.c
index 37e834589..981cc54f0 100644
--- a/nuttx/arch/z16/src/z16f/z16f_timerisr.c
+++ b/nuttx/arch/z16/src/z16f/z16f_timerisr.c
@@ -1,7 +1,7 @@
/***************************************************************************
* z16f/z16f_timerisr.c
*
- * Copyright (C) 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -39,7 +39,7 @@
#include <nuttx/config.h>
-#include <sys/types.h>
+#include <stdint.h>
#include <debug.h>
#include <nuttx/arch.h>
@@ -78,7 +78,7 @@ extern _Erom unsigned long SYS_CLK_FREQ;
*
***************************************************************************/
-int up_timerisr(int irq, uint32 *regs)
+int up_timerisr(int irq, uint32_t *regs)
{
/* Process timer interrupt */
@@ -119,7 +119,7 @@ void up_timerinit(void)
* this yields 200.
*/
- putreg16(((uint32)_DEFCLK / 100000), Z16F_TIMER0_R);
+ putreg16(((uint32_t)_DEFCLK / 100000), Z16F_TIMER0_R);
/* Enable the timer */