2010-07-21 Joel Sherrill <joel.sherrill@oarcorp.com>

* timer/timer.c: Do not do the indirect call if NULL.
This commit is contained in:
Joel Sherrill
2010-07-21 12:33:58 +00:00
parent 78da8ac396
commit 59211c6616
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
2010-07-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* timer/timer.c: Do not do the indirect call if NULL.
2010-06-14 Joel Sherrill <joel.sherrilL@OARcorp.com>
* startup/bspstart.c: Formatting.

View File

@@ -251,7 +251,8 @@ uint32_t benchmark_timer_read(void)
void Timer_exit(void)
{
return (*Timer_exit_function)();
if ( Timer_exit_function )
return (*Timer_exit_function)();
}
/*