1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-29 14:52:12 +01:00

RM Telem: Make sure it properly tracks the outgoing rate of bytes

This commit is contained in:
James Cotton 2012-09-04 10:20:51 -05:00
parent 0b947b243d
commit 113c3d3b76

View File

@ -381,7 +381,7 @@ static int32_t transmitData(uint8_t * data, int32_t length)
#ifdef PIOS_PACKET_HANDLER
if (PIOS_PACKET_HANDLER)
if (PHTransmitData(PIOS_PACKET_HANDLER, data, length))
return 0;
return length;
#endif
return -1;
}