Added basic task creating in manager task

This commit is contained in:
dario
2023-09-01 22:39:14 +02:00
parent ac7237b0bb
commit 96e9213b1a
4 changed files with 49 additions and 5 deletions

View File

@@ -0,0 +1,24 @@
/*
* watchdog.cpp
*
* Created on: Sep 1, 2023
* Author: Dario
*/
#include <sta/debug/debug.hpp>
#include <sta/rtos/system/watchdog.hpp>
namespace sta
{
namespace rtos
{
// Implementation of the watchdog event handler.
void watchdogEventHandler(void *, uint32_t flags)
{
if (flags & STA_WATCHDOG_FLAG_HEARTBEAT)
{
STA_DEBUG_PRINTLN("PING!");
}
}
}
} // namespace sta