1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-25 17:25:13 +03:00
This commit is contained in:
3djc 2019-04-27 12:07:11 +02:00
parent bf10c912bc
commit 628e3ed609
2 changed files with 6 additions and 5 deletions

View file

@ -20,7 +20,7 @@
#include <opentx.h>
#define RECEIVER_OPTIONS_2ND_COLUMN 80
#define RECEIVER_OPTIONS_2ND_COLUMN 200
extern uint8_t g_moduleIdx;
@ -123,7 +123,7 @@ bool menuModelReceiverOptions(event_t event)
if (pin < reusableBuffer.hardwareAndSettings.receiverSettings.outputsCount) {
uint8_t channel = g_model.moduleData[g_moduleIdx].channelsStart + reusableBuffer.hardwareAndSettings.receiverSettings.outputsMapping[pin];
int32_t channelValue = channelOutputs[channel];
lcdDrawText(0, y, "Pin");
lcdDrawText(MENUS_MARGIN_LEFT, y, "Pin");
lcdDrawNumber(lcdNextPos + 1, y, pin + 1);
putsChn(80, y, channel + 1, attr);
@ -153,4 +153,5 @@ bool menuModelReceiverOptions(event_t event)
else {
lcdDrawCenteredText(LCD_H/2, "Waiting for RX...");
}
return true;
}