TACOS/src/debug.cpp
2024-02-14 13:36:21 +01:00

16 lines
309 B
C++

#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