mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2026-12-06 07:37:38 +00:00
Enhanced serial protocol
Protocol 0..255 RX_Num 0..63 Disable channel mapping -> not implemented yet Disable telemetry Data 0-9 bytes
This commit is contained in:
1 parent
e3a5b2825d
commit
ff96146b04
8 files changed
+221
-204
No files matched your search
@@ -720,19 +720,18 @@ void TelemetryUpdate()
|
||||
t -= h ;
|
||||
if ( t < 32 )
|
||||
{
|
||||
debugln("TEL_BUF_FULL");
|
||||
return ;
|
||||
}
|
||||
#endif
|
||||
#if ( defined(MULTI_TELEMETRY) || defined(MULTI_STATUS) )
|
||||
#if defined(MULTI_TELEMETRY) || defined(MULTI_STATUS)
|
||||
uint32_t now = millis();
|
||||
if (IS_SEND_MULTI_STATUS_on || ((now - lastMulti) > MULTI_TIME))
|
||||
{
|
||||
uint32_t now = millis();
|
||||
if (IS_SEND_MULTI_STATUS_on || (now - lastMulti) > MULTI_TIME)
|
||||
{
|
||||
multi_send_status();
|
||||
SEND_MULTI_STATUS_off;
|
||||
lastMulti = now;
|
||||
return;
|
||||
}
|
||||
multi_send_status();
|
||||
SEND_MULTI_STATUS_off;
|
||||
lastMulti = now;
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user