mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 17:55:19 +03:00
pass[] data type optimization
This commit is contained in:
parent
cb5bb83067
commit
94efa965da
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ void setupPulsesPXX(unsigned int port)
|
||||||
putPcmByte(0, port);
|
putPcmByte(0, port);
|
||||||
|
|
||||||
/* PPM */
|
/* PPM */
|
||||||
static uint32_t pass[NUM_MODULES] = { MODULES_INIT(0) };
|
static uint8_t pass[NUM_MODULES] = { MODULES_INIT(0) };
|
||||||
int sendUpperChannels = 0;
|
int sendUpperChannels = 0;
|
||||||
if (pass[port]++ & 0x01) {
|
if (pass[port]++ & 0x01) {
|
||||||
sendUpperChannels = g_model.moduleData[port].channelsCount;
|
sendUpperChannels = g_model.moduleData[port].channelsCount;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue