mirror of
https://github.com/opentx/opentx.git
synced 2025-07-14 11:59:50 +03:00
PXX synchro using Hearbeat (#6482)
* [PXX] Latency using heartbeat sync optimized for X7 (stable @ 12ms) * [PXX] Latency using heartbeat sync optimized for XLite Pro (stable @ 9ms)
This commit is contained in:
parent
56a31f20d3
commit
aff6c3fd1d
37 changed files with 383 additions and 189 deletions
|
@ -321,6 +321,11 @@ char * getSwitchString(char * dest, swsrc_t idx)
|
|||
else if (idx == SWSRC_TELEMETRY_STREAMING) {
|
||||
strcpy(s, "Tele");
|
||||
}
|
||||
#if defined(DEBUG_LATENCY)
|
||||
else if (idx == SWSRC_LATENCY_TOGGLE) {
|
||||
strcpy(s, "Ltc");
|
||||
}
|
||||
#endif
|
||||
else {
|
||||
zchar2str(s, g_model.telemetrySensors[idx-SWSRC_FIRST_SENSOR].label, TELEM_LABEL_LEN);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue