mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 16:25:16 +03:00
Replace NULL by nullptr
This commit is contained in:
parent
c8482905a0
commit
e7736f3fdc
28 changed files with 66 additions and 85 deletions
|
@ -138,14 +138,12 @@ static void processMultiTelemetryPaket(const uint8_t *packet)
|
|||
TRACE("[MP] Received Frsky HUB telemetry len %d < 4", len);
|
||||
break;
|
||||
|
||||
#if defined(MULTI_SPORT)
|
||||
case FrSkySportTelemtry:
|
||||
if (len >= 4)
|
||||
sportProcessTelemetryPacket(data);
|
||||
else
|
||||
TRACE("[MP] Received sport telemetry len %d < 4", len);
|
||||
break;
|
||||
#endif
|
||||
|
||||
case InputSync:
|
||||
if (len >= 6)
|
||||
|
@ -158,7 +156,7 @@ static void processMultiTelemetryPaket(const uint8_t *packet)
|
|||
// Just an ack to our command, ignore for now
|
||||
break;
|
||||
|
||||
#if defined(MULTI_SPORT) && defined(LUA)
|
||||
#if defined(LUA)
|
||||
case FrskySportPolling:
|
||||
if (len >= 1 && outputTelemetryBuffer.destination == TELEMETRY_ENDPOINT_SPORT && data[0] == outputTelemetryBuffer.sport.physicalId) {
|
||||
TRACE("MP Sending sport data out.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue