Init
This commit is contained in:
commit
cf262d0910
|
|
@ -0,0 +1,24 @@
|
|||
//
|
||||
// Created by xemon on 21.11.22.
|
||||
//
|
||||
|
||||
#ifndef UVEOS_ON_NATION_ACCELDATAFLOWINTERFACE_H
|
||||
#define UVEOS_ON_NATION_ACCELDATAFLOWINTERFACE_H
|
||||
|
||||
#include "vector.h"
|
||||
#include "stdbool.h"
|
||||
|
||||
typedef bool (*accelDataGetNextCall)(void *env, vector3 *value, uint32_t timeout);
|
||||
|
||||
typedef void (*accelDataClearCall)(void *env);
|
||||
|
||||
typedef struct {
|
||||
void *env;
|
||||
accelDataGetNextCall getNext;
|
||||
accelDataClearCall clear;
|
||||
} tAccelDataFlowInterface;
|
||||
|
||||
#define AccelDataFlow_GetNext(ENV, VEC, TIMEOUT) (ENV)->getNext((ENV)->env,VEC,TIMEOUT)
|
||||
#define AccelDataFlow_Clear(ENV) (ENV)->clear((ENV)->env)
|
||||
|
||||
#endif //UVEOS_ON_NATION_ACCELDATAFLOWINTERFACE_H
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"dep": [
|
||||
{
|
||||
"type": "git",
|
||||
"provider": "NAVIGATOR_UVEOS_NATION_TELIT",
|
||||
"repo": "VectorMath"
|
||||
}
|
||||
],
|
||||
"cmake": {
|
||||
"inc_dirs": [
|
||||
"Inc"
|
||||
],
|
||||
"srcs": [
|
||||
"Src/**.c"
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue