forked from Imagelibrary/rtems
score: Create watchdog implementation header
Move implementation specific parts of watchdog.h and watchdog.inl into new header file watchdogimpl.h. The watchdog.h contains now only the application visible API.
This commit is contained in:
@@ -121,7 +121,7 @@ static inline void rtems_capture_get_time (uint32_t* ticks,
|
||||
capture_timestamp (ticks, tick_offset);
|
||||
else
|
||||
{
|
||||
*ticks = _Watchdog_Ticks_since_boot;
|
||||
*ticks = rtems_clock_get_ticks_since_boot();
|
||||
*tick_offset = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user