Updated uart comunication for spatz

This commit is contained in:
dario
2024-08-03 22:47:01 +02:00
parent 961cdd7a9a
commit fc5d676624
3 changed files with 19 additions and 23 deletions

View File

@@ -2,6 +2,7 @@
#define STA_CORE_SPATZ_HPP
#include <sta/mutex.hpp>
#include <sta/signal.hpp>
#include <sta/config.hpp>
#ifdef STA_SPATZ_ENABLED
@@ -20,7 +21,7 @@ namespace sta
*
* @param mutex A mutex used to make SPATZ thread-safe.
*/
void init(Mutex * mutex);
void init(Mutex * mutex, Signal * signal);
/**
* @brief Request bytes for a specific sensor id via the printable.