From 94efa965dae7da812d57edf94c650730b5ad60f9 Mon Sep 17 00:00:00 2001 From: Damjan Adamic Date: Mon, 12 Oct 2015 22:30:21 +0200 Subject: [PATCH] pass[] data type optimization --- radio/src/pulses/pxx_arm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/pulses/pxx_arm.cpp b/radio/src/pulses/pxx_arm.cpp index c216fffe7..0109cbc26 100644 --- a/radio/src/pulses/pxx_arm.cpp +++ b/radio/src/pulses/pxx_arm.cpp @@ -216,7 +216,7 @@ void setupPulsesPXX(unsigned int port) putPcmByte(0, port); /* PPM */ - static uint32_t pass[NUM_MODULES] = { MODULES_INIT(0) }; + static uint8_t pass[NUM_MODULES] = { MODULES_INIT(0) }; int sendUpperChannels = 0; if (pass[port]++ & 0x01) { sendUpperChannels = g_model.moduleData[port].channelsCount;