summaryrefslogtreecommitdiff
path: root/bsp/ls1bdev
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-05-15 06:16:37 +0000
committer[email protected] <[email protected]>2012-05-15 06:16:37 +0000
commit0ce3aa056d21f1f9c767f58c1f37463bd928314e (patch)
tree7f8c023f32c6bc775604c12e59bf27ebbdf5204d /bsp/ls1bdev
parente383470e01b58cbc7c0705ec0301f8846556da4f (diff)
update CMSIS RTOS API in MB9BF506R
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2117 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'bsp/ls1bdev')
-rw-r--r--bsp/ls1bdev/board.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/bsp/ls1bdev/board.c b/bsp/ls1bdev/board.c
index dbfe6038e0..cea1fb5b56 100644
--- a/bsp/ls1bdev/board.c
+++ b/bsp/ls1bdev/board.c
@@ -23,12 +23,13 @@
/**
* @addtogroup Loongson LS1B
*/
+
/*@{*/
/**
* This is the timer interrupt service routine.
*/
-void rt_hw_timer_handler()
+void rt_hw_timer_handler(void)
{
unsigned int count;
@@ -43,7 +44,7 @@ void rt_hw_timer_handler()
/**
* This function will initial OS timer
*/
-void rt_hw_timer_init()
+void rt_hw_timer_init(void)
{
write_c0_compare(CPU_HZ/2/RT_TICK_PER_SECOND);
write_c0_count(0);
@@ -52,7 +53,7 @@ void rt_hw_timer_init()
/**
* This function will initial sam7s64 board.
*/
-void rt_hw_board_init()
+void rt_hw_board_init(void)
{
#ifdef RT_USING_UART
/* init hardware UART device */