mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-05 21:52:10 +01:00
RM Telem: Make sure it properly tracks the outgoing rate of bytes
This commit is contained in:
parent
0b947b243d
commit
113c3d3b76
@ -381,7 +381,7 @@ static int32_t transmitData(uint8_t * data, int32_t length)
|
|||||||
#ifdef PIOS_PACKET_HANDLER
|
#ifdef PIOS_PACKET_HANDLER
|
||||||
if (PIOS_PACKET_HANDLER)
|
if (PIOS_PACKET_HANDLER)
|
||||||
if (PHTransmitData(PIOS_PACKET_HANDLER, data, length))
|
if (PHTransmitData(PIOS_PACKET_HANDLER, data, length))
|
||||||
return 0;
|
return length;
|
||||||
#endif
|
#endif
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user