mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-08-07 10:47:34 +00:00
Added SPATZ tick feature
This commit is contained in:
@@ -24,6 +24,11 @@ namespace sta
|
||||
*/
|
||||
void init(Mutex * mutex, Event * signal);
|
||||
|
||||
/**
|
||||
* @brief Notify SPATZ that a new tick has happened.
|
||||
*/
|
||||
void tick();
|
||||
|
||||
/**
|
||||
* @brief Request bytes for a specific sensor id via the printable.
|
||||
*
|
||||
@@ -59,13 +64,15 @@ namespace sta
|
||||
|
||||
#define STA_SPATZ_INIT(mutex, signal) sta::spatz::init(mutex, signal)
|
||||
|
||||
#define STA_SPATZ_TICK() sta::spatz::tick();
|
||||
|
||||
#else
|
||||
|
||||
namespace sta
|
||||
{
|
||||
namespace spatz
|
||||
{
|
||||
void init(Mutex * mutex);
|
||||
void init(Mutex * mutex, Event * signal);
|
||||
} // namespace spatz
|
||||
} // namespace sta
|
||||
|
||||
|
Reference in New Issue
Block a user