forked from Imagelibrary/rtems
score: Delete _Watchdog_Report()
Delete _Watchdog_Report_chain(). These two functions use printk() with thread dispatching and interrupts disabled. So they are pretty useless in real applications. They are not part of the application APIs. They are only used in one test and do nothing useful in this test.
This commit is contained in:
@@ -53,17 +53,11 @@ rtems_task Init(
|
||||
{
|
||||
rtems_time_of_day time;
|
||||
rtems_status_code status;
|
||||
Chain_Control empty;
|
||||
|
||||
TEST_BEGIN();
|
||||
|
||||
puts( "INIT - report on empty watchdog chain" );
|
||||
|
||||
test_watchdog_static_init();
|
||||
|
||||
_Chain_Initialize_empty( &empty );
|
||||
_Watchdog_Report_chain( "Empty Chain", &empty );
|
||||
|
||||
build_time( &time, 12, 31, 1988, 9, 0, 0, 0 );
|
||||
|
||||
status = rtems_clock_set( &time );
|
||||
|
||||
Reference in New Issue
Block a user