Skip to content

Commit f20ecfc

Browse files
committed
Use std naming for LastTLMpacketRecvMillis
1 parent afa57ff commit f20ecfc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/src/tx_main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ uint32_t SyncPacketLastSent = 0;
8484
static enum { stbIdle, stbRequested, stbBoosting } syncTelemBoostState = stbIdle;
8585
////////////////////////////////////////////////
8686

87-
static uint32_t LastTLMpacketRecvMillis = 0;
87+
static uint32_t LastTLMpacketRecv_Ms = 0;
8888
static uint32_t LinkStatsLastReported_Ms = 0;
8989
static bool commitInProgress = false;
9090

@@ -186,7 +186,7 @@ bool ICACHE_RAM_ATTR ProcessTLMpacket(SX12xxDriverCommon::rx_status const status
186186
return false;
187187
}
188188

189-
LastTLMpacketRecvMillis = millis();
189+
LastTLMpacketRecv_Ms = millis();
190190
LQCalc.add();
191191

192192
Radio.CheckForSecondPacket();
@@ -418,7 +418,7 @@ expresslrs_tlm_ratio_e ICACHE_RAM_ATTR UpdateTlmRatioEffective()
418418
uint8_t newTlmDenom = TLMratioEnumToValue(retVal);
419419
// Delay going into disconnected state when the TLM ratio increases
420420
if (connectionState == connected && ExpressLRS_currTlmDenom > newTlmDenom)
421-
LastTLMpacketRecvMillis = SyncPacketLastSent;
421+
LastTLMpacketRecv_Ms = SyncPacketLastSent;
422422
ExpressLRS_currTlmDenom = newTlmDenom;
423423
}
424424

0 commit comments

Comments
 (0)