feat: add support for RadioMaster TX16S MK3 (#7017)

Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
Co-authored-by: 3djc <3djc@gh.com>
Co-authored-by: Peter Feerick <5500713+pfeerick@users.noreply.github.com>
This commit is contained in:
3djc
2026-01-25 14:08:05 +10:00
committed by GitHub
co-authored by philmoz 3djc Peter Feerick
parent 5394e84871
commit be496b66b6
86 changed files with 2789 additions and 60 deletions
+14
View File
@@ -78,6 +78,10 @@
#include "lua/custom_allocator.h"
#endif
#if defined(LUMINOSITY_SENSOR)
#include "luminosity_sensor.h"
#endif
RadioData g_eeGeneral;
ModelData g_model;
@@ -238,6 +242,10 @@ void per10ms()
if (mixWarning & 4) if(((g_tmr10ms&0xFF)==128) || ((g_tmr10ms&0xFF)==136) || ((g_tmr10ms&0xFF)==144)) AUDIO_MIX_WARNING(3);
#endif
#if defined(LUMINOSITY_SENSOR)
getPeriodicLuxSensorValue();
#endif
outputTelemetryBuffer.per10ms();
heartbeat |= HEART_TIMER_10MS;
@@ -2016,6 +2024,12 @@ void getMixSrcRange(const int source, int16_t & valMin, int16_t & valMax, LcdFla
if (flags)
*flags |= PREC1;
}
#if defined(LUMINOSITY_SENSOR)
else if (asrc == MIXSRC_LIGHT) {
valMax = 100;
valMin = -valMax;
}
#endif
else if (asrc == MIXSRC_TX_TIME) {
valMax = 23 * 60 + 59;
valMin = 0;