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
@@ -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;