mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/TACOS.git
synced 2025-09-29 02:57:33 +00:00
Created debug.hpp and fixed doxygen
This commit is contained in:
15
src/debug.cpp
Normal file
15
src/debug.cpp
Normal file
@@ -0,0 +1,15 @@
|
||||
#include <sta/tacos/debug.hpp>
|
||||
|
||||
|
||||
namespace sta
|
||||
{
|
||||
namespace tacos
|
||||
{
|
||||
#ifdef STA_TACOS_WATCHDOG_ENABLED
|
||||
uint16_t getNumThreadRestarts()
|
||||
{
|
||||
return Watchdog::instance()->getNumRestarts();
|
||||
}
|
||||
#endif // STA_TACOS_WATCHDOG_ENABLED
|
||||
} // namespace tacos
|
||||
} // namespace sta
|
Reference in New Issue
Block a user