summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/nios2
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/nios2')
-rw-r--r--c/src/lib/libbsp/nios2/nios2_iss/console/console.c6
-rw-r--r--c/src/lib/libbsp/nios2/nios2_iss/timer/timer.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/nios2/nios2_iss/console/console.c b/c/src/lib/libbsp/nios2/nios2_iss/console/console.c
index d00a6a960f..bdff33c9dc 100644
--- a/c/src/lib/libbsp/nios2/nios2_iss/console/console.c
+++ b/c/src/lib/libbsp/nios2/nios2_iss/console/console.c
@@ -1,6 +1,6 @@
/*
* This file implements simple console IO via JTAG UART.
- *
+ *
* Based on no_cpu/console.c
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
@@ -25,7 +25,7 @@
/* is_character_ready
*
* If a character is available, this routine reads it and stores
- * it in
+ * it in
* reads the character and stores
*
* Input parameters: NONE
@@ -92,7 +92,7 @@ int console_inbyte_nonblocking(
*/
void console_outbyte_polled(
- int port,
+ int port,
char ch
)
{
diff --git a/c/src/lib/libbsp/nios2/nios2_iss/timer/timer.c b/c/src/lib/libbsp/nios2/nios2_iss/timer/timer.c
index 9ffd27d047..91fcdc6c5c 100644
--- a/c/src/lib/libbsp/nios2/nios2_iss/timer/timer.c
+++ b/c/src/lib/libbsp/nios2/nios2_iss/timer/timer.c
@@ -74,8 +74,8 @@ void benchmark_timer_initialize( void )
ALTERA_AVALON_TIMER_CONTROL_START_MSK;
/* This is the most safe place for resetting the overflow
- counter - just _after_ we reset the timer. Depending
- on the SOPC configuration, the counter may not be
+ counter - just _after_ we reset the timer. Depending
+ on the SOPC configuration, the counter may not be
stoppable and it doesn't make sense to assume that
there is any "safe" period before resetting. */
@@ -129,7 +129,7 @@ int benchmark_timer_read( void )
if(total < LEAST_VALID) return 0;
if(benchmark_timer_find_average_overhead != TRUE) total-= AVG_OVERHEAD;
-
+
return total;
}