FUTABA/T-FHSS channels mapping and naming

This commit is contained in:
pascallanger committed 2026-11-24 23:17:50 +01:00
1 parent 9c496d9526
commit cfa298bf87
4 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -280,7 +280,7 @@ local function Multi_Init()
end
--Exceptions on first 4 channels...
if ( protocol == 73 or (protocol == 74 and (sub_protocol == 0 or sub_protocol == 2 or sub_protocol == 4)) or (protocol == 60 and sub_protocol == 2) or protocol == 89) then -- Kyosho or RadioLink (Surface or DumboRC/P) or Pelikan/SCX24 or Losi
if ( protocol == 73 or (protocol == 74 and (sub_protocol == 0 or sub_protocol == 2 or sub_protocol == 4)) or (protocol == 60 and sub_protocol == 2) or protocol == 89 or (protocol == 21 and (sub_protocol == 1 or sub_protocol == 2))) then -- Kyosho or RadioLink (Surface or DumboRC/P) or Pelikan/SCX24 or Losi or FUTABA/T-FHSS&T-FHSS_SR
channel_names[1] = "ST"
channel_names[2] = "THR"
channel_names[3] = "CH3"
+1 -1
View File
@@ -19,7 +19,7 @@
#define VERSION_MAJOR 1
#define VERSION_MINOR 3
#define VERSION_REVISION 4
#define VERSION_PATCH_LEVEL 75
#define VERSION_PATCH_LEVEL 76
#define MODE_SERIAL 0
+2 -2
View File
@@ -298,7 +298,7 @@ static void __attribute__((unused)) TFHSS_telemetry(uint8_t first, const uint8_t
// Surface: the 12-bit value of a channel, 1020..2020 us at +-100 %
static uint16_t __attribute__((unused)) TFHSS_value(uint8_t num, bool failsafe)
{
int16_t v = convert_channel_16b_nolimit(CH_AETR[num], 448, 3648, failsafe);
int16_t v = convert_channel_16b_nolimit(num, 448, 3648, failsafe);
return v < 0 ? 0 : v > 4095 ? 4095 : v;
}
@@ -336,7 +336,7 @@ static void __attribute__((unused)) TFHSS_surface_packet()
f = ch_code[k];
fs = 0x10;
#ifdef FAILSAFE_ENABLE
uint16_t v = Failsafe_data[CH_AETR[c]];
uint16_t v = Failsafe_data[c];
if(IS_FAILSAFE_VALUES_on && v != FAILSAFE_CHANNEL_HOLD && v != FAILSAFE_CHANNEL_NOPULSES)
{
f |= 0x04;
+3 -3
View File
@@ -1198,7 +1198,7 @@ T-FHSS Surface. Models: Futaba T-FHSS surface receivers (cars, boats) like the R
Failsafe and telemetry supported. Extended limits supported.
RX output will match the Futaba standard servo throw, mid point and the channel order AETR independently of the input configuration AETR, RETA... unless if on OpenTX 2.3.3+ you use the "Disable channel mapping" feature on the GUI.
RX output will match the Futaba standard servo throw, mid point.
Option for this protocol corresponds to fine frequency tuning, the same value as for S-FHSS.
@@ -1208,7 +1208,7 @@ Telemetry: the receiver's voltage (A1) and link quality (RSSI), and its S.BUS2 s
CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8
---|---|---|---|---|---|---|---
A|E|T|R|CH5|CH6|CH7|CH8
ST|THR|CH3|CH4|CH5|CH6|CH7|CH8
CH1 to CH4 are sent every frame (3 ms), CH5 to CH8 one per frame.
@@ -1217,7 +1217,7 @@ T-FHSS SR (Super Response), the receiver bound in SR mode: frames every 1.2 ms,
CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8|CH9|CH10|CH11|CH12
---|---|---|---|---|---|---|---|---|---|---|---
A|E|T|R|CH5|CH6|CH7|CH8|NB_1|NB_2|NB_3|NB_4
ST|THR|CH3|CH4|CH5|CH6|CH7|CH8|NB_1|NB_2|NB_3|NB_4
NB_1..4: Flags for Narrow-band servos (the "SR channels" of Futaba radios) associated to CH1..4