From 113c3d3b769c0921f1ea5cbb9fcc6e4599503fc2 Mon Sep 17 00:00:00 2001 From: James Cotton Date: Tue, 4 Sep 2012 10:20:51 -0500 Subject: [PATCH] RM Telem: Make sure it properly tracks the outgoing rate of bytes --- flight/Modules/Telemetry/telemetry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flight/Modules/Telemetry/telemetry.c b/flight/Modules/Telemetry/telemetry.c index a1cc19c34..6c07cb51d 100644 --- a/flight/Modules/Telemetry/telemetry.c +++ b/flight/Modules/Telemetry/telemetry.c @@ -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; }