mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 16:25:16 +03:00
Graupner HoTT: full telemetry (#7627)
This commit is contained in:
parent
fe9750fc0c
commit
fa1e6f087c
11 changed files with 742 additions and 133 deletions
|
@ -21,6 +21,7 @@
|
|||
#include "telemetry.h"
|
||||
#include "multi.h"
|
||||
|
||||
constexpr int32_t MULTI_DESIRED_VERSION = (1 << 24) | (3 << 16) | (1 << 8) | 1;
|
||||
#define MULTI_CHAN_BITS 11
|
||||
|
||||
extern uint8_t g_moduleIdx;
|
||||
|
@ -561,7 +562,7 @@ void MultiModuleStatus::getStatusString(char * statusText) const
|
|||
return;
|
||||
}
|
||||
|
||||
if (major <= 1 && minor <= 3 && revision <= 0 && patch < 91 && SLOW_BLINK_ON_PHASE) {
|
||||
if ((((major << 24) | (minor << 16) | (revision << 8) | patch) < MULTI_DESIRED_VERSION) && SLOW_BLINK_ON_PHASE) {
|
||||
strcpy(statusText, STR_MODULE_UPGRADE);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue