Grrrrrr.
This commit is contained in:
@@ -177,7 +177,7 @@ void menuModelReceiverOptions(event_t event)
|
|||||||
{
|
{
|
||||||
lcdDrawText(0, y, STR_PROTOCOL);
|
lcdDrawText(0, y, STR_PROTOCOL);
|
||||||
uint8_t portType = reusableBuffer.hardwareAndSettings.receiverSettings.fport | (reusableBuffer.hardwareAndSettings.receiverSettings.fport2 << 1);
|
uint8_t portType = reusableBuffer.hardwareAndSettings.receiverSettings.fport | (reusableBuffer.hardwareAndSettings.receiverSettings.fport2 << 1);
|
||||||
lcdDrawTextAtIndex(LCD_W/2, y, STR_SPORT_MODES, portType, attr);
|
lcdDrawTextAtIndex(RECEIVER_OPTIONS_2ND_COLUMN, y, STR_SPORT_MODES, portType, attr);
|
||||||
portType = checkIncDec(event, portType, 0, 2, EE_MODEL, isSPortModeAvailable);
|
portType = checkIncDec(event, portType, 0, 2, EE_MODEL, isSPortModeAvailable);
|
||||||
if (checkIncDec_Ret) {
|
if (checkIncDec_Ret) {
|
||||||
reusableBuffer.hardwareAndSettings.receiverSettings.fport = portType & 0x01;
|
reusableBuffer.hardwareAndSettings.receiverSettings.fport = portType & 0x01;
|
||||||
|
|||||||
Reference in New Issue
Block a user