1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 00:35:18 +03:00

pass[] data type optimization

This commit is contained in:
Damjan Adamic 2015-10-12 22:30:21 +02:00
parent cb5bb83067
commit 94efa965da

View file

@ -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;