2011-10-21 Ralf Corsépius <ralf.corsepius@rtems.org>

* console/console.c (ISS_output_char): Add return type.
	* timer/timer.c: Remove unused vars "old_ie".
This commit is contained in:
Ralf Corsepius
2011-10-21 13:37:01 +00:00
parent d4a9594039
commit 5dd62f06af
3 changed files with 8 additions and 6 deletions
@@ -1,3 +1,8 @@
2011-10-21 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c (ISS_output_char): Add return type.
* timer/timer.c: Remove unused vars "old_ie".
2011-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
* startup/bspstart.c: Update due to API changes.
@@ -109,13 +109,13 @@ void console_outbyte_polled(
}
/*
* * To support printk
* */
* To support printk
*/
#include <rtems/bspIo.h>
ISS_output_char(char c) { console_outbyte_polled( 0, c ); }
void ISS_output_char(char c) { console_outbyte_polled( 0, c ); }
BSP_output_char_function_type BSP_output_char = ISS_output_char;
BSP_polling_getchar_function_type BSP_poll_char = NULL;
@@ -40,8 +40,6 @@ void timerisr( void )
void benchmark_timer_initialize( void )
{
uint32_t old_ie;
/* Disable timer interrupt, stop timer */
TIMER_REGS->control = ALTERA_AVALON_TIMER_CONTROL_STOP_MSK;
@@ -104,7 +102,6 @@ uint32_t benchmark_timer_read( void )
uint32_t timer_snap;
uint32_t timer_ticks;
uint32_t total;
uint32_t old_ie;
/* Hold timer */
TIMER_REGS->control = ALTERA_AVALON_TIMER_CONTROL_STOP_MSK;