mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2026-12-06 07:37:38 +00:00
Scanner in blocking mode for best perf
This commit is contained in:
1 parent
b07b081a15
commit
2686cd0c48
3 files changed
+37
-42
No files matched your search
@@ -836,7 +836,7 @@ void TelemetryUpdate()
|
||||
t -= h ;
|
||||
if ( t < 32 )
|
||||
{
|
||||
//debugln("TEL_BUF_FULL %d",t);
|
||||
debugln("TEL_BUF_FULL %d",t);
|
||||
return ;
|
||||
}
|
||||
/* else
|
||||
@@ -846,7 +846,7 @@ void TelemetryUpdate()
|
||||
#endif
|
||||
#if defined(MULTI_TELEMETRY) || defined(MULTI_STATUS)
|
||||
uint32_t now = millis();
|
||||
if (IS_SEND_MULTI_STATUS_on || ((now - lastMulti) > MULTI_TIME))
|
||||
if ((IS_SEND_MULTI_STATUS_on || ((now - lastMulti) > MULTI_TIME))&& protocol != PROTO_SCANNER)
|
||||
{
|
||||
multi_send_status();
|
||||
SEND_MULTI_STATUS_off;
|
||||
|
||||
Reference in new issue
Block a user