mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-08-06 18:37:34 +00:00
Some fixes for UART receiving with interrupts for SPATZ
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include <sta/mutex.hpp>
|
||||
#include <sta/signal.hpp>
|
||||
#include <sta/event.hpp>
|
||||
|
||||
#include <sta/config.hpp>
|
||||
#ifdef STA_SPATZ_ENABLED
|
||||
@@ -21,7 +22,7 @@ namespace sta
|
||||
*
|
||||
* @param mutex A mutex used to make SPATZ thread-safe.
|
||||
*/
|
||||
void init(Mutex * mutex, Signal * signal);
|
||||
void init(Mutex * mutex, Event * signal);
|
||||
|
||||
/**
|
||||
* @brief Request bytes for a specific sensor id via the printable.
|
||||
@@ -49,6 +50,8 @@ namespace sta
|
||||
* @param length The number of doubles to request.
|
||||
*/
|
||||
void request(uint8_t id, double * buffer, size_t length);
|
||||
|
||||
void notify(uint8_t id);
|
||||
} // namespace spatz
|
||||
} // namespace sta
|
||||
|
||||
|
Reference in New Issue
Block a user