This commit is contained in:
2024-09-26 22:32:20 +08:00
commit 097089ef4e
323 changed files with 135661 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
#ifndef __SBUS_H__
#define __SBUS_H__
#include "uart_fifo.h"
#include <FreeRTOS.h>
typedef struct {
TaskHandle_t task_p;
UART_RX_FIFO_t *fifo_in;
const char *name;
uint16_t ch[18];
uint8_t seq;
uint8_t valid;
} SBUS_IN_t;
void SBUS_IN_init(SBUS_IN_t *sbus_in, const char *name, UART_RX_FIFO_t *fifo_in);
#endif /* __SBUS_H__ */