pass[] data type optimization

This commit is contained in:
Damjan Adamic
2015-10-12 22:30:21 +02:00
parent cb5bb83067
commit 94efa965da
+1 -1
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;