sbus invertion in config

This commit is contained in:
2026-02-14 22:06:28 +01:00
parent 40d2880fdc
commit 3e20b79de7
4 changed files with 12 additions and 5 deletions

View File

@ -29,6 +29,7 @@ typedef struct
uint8_t sbus_trigger_channel; // SBUS channel for mode trigger (0-15, typically 3 for CH4)
uint16_t sbus_threshold_low; // SBUS low threshold (default 800)
uint16_t sbus_threshold_high; // SBUS high threshold (default 1100)
bool sbus_inverted; // true = SBUS in inverted mode (like FrSky), false = normal mode
uint8_t hash[CONFIG_HASH_LEN]; // SHA256 Hash of config
} config_t;