feat: process RC packets back from CRSF module as trainer input (#5724)

i.e. allow head tracker data to be relayed via backpack!
This commit is contained in:
Paul Kendall
2025-01-03 10:01:12 +10:00
committed by GitHub
parent 7b1ae2404c
commit 574f753376
27 changed files with 69 additions and 5 deletions
+3 -2
View File
@@ -158,8 +158,9 @@ const uint8_t CROSSFIRE_FRAME_PERIODS[] = {
#define CRSF_ELRS_MIN_VER(moduleIdx, maj, min) \
(crossfireModuleStatus[moduleIdx].isELRS \
&& crossfireModuleStatus[moduleIdx].major >= maj \
&& crossfireModuleStatus[moduleIdx].minor >= min)
&& (crossfireModuleStatus[moduleIdx].major > maj \
|| (crossfireModuleStatus[moduleIdx].major == maj \
&& crossfireModuleStatus[moduleIdx].minor >= min)))
#if defined(HARDWARE_INTERNAL_MODULE)
#define INT_CROSSFIRE_BR_IDX CROSSFIRE_STORE_TO_INDEX(g_eeGeneral.internalModuleBaudrate)