summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/no_cpu/no_bsp/timer
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/no_cpu/no_bsp/timer')
-rw-r--r--c/src/lib/libbsp/no_cpu/no_bsp/timer/timer.c6
-rw-r--r--c/src/lib/libbsp/no_cpu/no_bsp/timer/timerisr.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/no_cpu/no_bsp/timer/timer.c b/c/src/lib/libbsp/no_cpu/no_bsp/timer/timer.c
index 4ab13f4db8..9bef085916 100644
--- a/c/src/lib/libbsp/no_cpu/no_bsp/timer/timer.c
+++ b/c/src/lib/libbsp/no_cpu/no_bsp/timer/timer.c
@@ -21,7 +21,7 @@
#include <rtems.h>
#include <bsp.h>
-rtems_unsigned32 Timer_interrupts;
+uint32_t Timer_interrupts;
rtems_boolean Timer_driver_Find_average_overhead;
void Timer_initialize( void )
@@ -56,8 +56,8 @@ void Timer_initialize( void )
int Read_timer( void )
{
- rtems_unsigned32 clicks;
- rtems_unsigned32 total;
+ uint32_t clicks;
+ uint32_t total;
/*
* Read the timer and see how many clicks it has been since we started.
diff --git a/c/src/lib/libbsp/no_cpu/no_bsp/timer/timerisr.c b/c/src/lib/libbsp/no_cpu/no_bsp/timer/timerisr.c
index 2e1e4fdb05..7cbd49a050 100644
--- a/c/src/lib/libbsp/no_cpu/no_bsp/timer/timerisr.c
+++ b/c/src/lib/libbsp/no_cpu/no_bsp/timer/timerisr.c
@@ -25,7 +25,7 @@
#include <rtems.h>
-extern rtems_unsigned32 _Timer_interrupts;
+extern uint32_t _Timer_interrupts;
void timerisr( void )
{