diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-11-30 05:09:41 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-11-30 05:09:41 +0000 |
commit | 359e5374164ccb2a66833354b412a859c144ea2f (patch) | |
tree | 6f065d7d6247bc255f43ddb0152fc26c50bd4f87 /c/src/lib/libbsp/nios2/nios2_iss/timer/timer.c | |
parent | Whitespace removal. (diff) | |
download | rtems-359e5374164ccb2a66833354b412a859c144ea2f.tar.bz2 |
Whitespace removal.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/nios2/nios2_iss/timer/timer.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |