From aaa7c7c5d3fde33fa66df433d7ca9c4d2cfaf53d Mon Sep 17 00:00:00 2001 From: ProDrone Date: Fri, 7 Aug 2015 16:24:25 +0200 Subject: [PATCH] SUMD channels are received as 16 bit values instead of 32 Preserve 32 bytes of RAM. --- src/main/rx/sumd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/rx/sumd.c b/src/main/rx/sumd.c index 8df093b48f..3e096a42f6 100644 --- a/src/main/rx/sumd.c +++ b/src/main/rx/sumd.c @@ -43,7 +43,7 @@ #define SUMD_BAUDRATE 115200 static bool sumdFrameDone = false; -static uint32_t sumdChannels[SUMD_MAX_CHANNEL]; +static uint16_t sumdChannels[SUMD_MAX_CHANNEL]; static void sumdDataReceive(uint16_t c); static uint16_t sumdReadRawRC(rxRuntimeConfig_t *rxRuntimeConfig, uint8_t chan);