2008-09-02 Ralf Corsépius <ralf.corsepius@rtems.org>

PR 1301/cpukit
	* sapi/src/debug.c: Let _Debug_Is_enabled return TRUE|FALSE.
This commit is contained in:
Ralf Corsepius
2008-09-02 09:21:35 +00:00
parent ebbe04a554
commit 5c753ea66c
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2008-09-02 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1301/cpukit
* sapi/src/debug.c: Let _Debug_Is_enabled return TRUE|FALSE.
2008-09-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/timerdrv.h,

View File

@@ -61,5 +61,5 @@ boolean _Debug_Is_enabled(
rtems_debug_control level
)
{
return (_Debug_Level & level);
return (_Debug_Level & level) ? TRUE : FALSE;
}