Merge pull request #11198 from SteveCEvans/sce_rc2
[betaflight.git] / src / main / rx / srxl2.h
blob2902b86415964fe3d80c127bdadb23b07b09d47e
1 #pragma once
2 #include <stdint.h>
3 #include <stdbool.h>
5 #include "pg/rx.h"
7 #include "rx/rx.h"
9 struct sbuf_s;
11 bool srxl2RxInit(const rxConfig_t *rxConfig, rxRuntimeState_t *rxRuntimeState);
12 bool srxl2RxIsActive(void);
13 void srxl2RxWriteData(const void *data, int len);
14 bool srxl2TelemetryRequested(void);
15 void srxl2InitializeFrame(struct sbuf_s *dst);
16 void srxl2FinalizeFrame(struct sbuf_s *dst);
17 void srxl2Bind(void);