Bring back radio type on version screen (#7768)

This commit is contained in:
3djc
2020-07-07 15:57:23 +02:00
committed by GitHub
parent 9a639b3fb1
commit 4d6a8e063a
4 changed files with 11 additions and 9 deletions
@@ -222,7 +222,7 @@ void menuRadioModulesVersion(event_t event)
enum MenuRadioVersionItems
{
ITEM_RADIO_VERSION_FIRST = HEADER_LINE - 1,
#if defined(PCBTARANIS) || defined(PCBHORUS)
#if defined(PCBTARANIS)
ITEM_RADIO_FIRMWARE_OPTIONS,
#endif
#if defined(PXX2)
@@ -250,7 +250,7 @@ void menuRadioVersion(event_t event)
y += 2;
#if defined(PCBTARANIS) || defined(PCBHORUS)
#if defined(PCBTARANIS)
lcdDrawText(INDENT_WIDTH, y, BUTTON(TR_FIRMWARE_OPTIONS), menuVerticalPosition == ITEM_RADIO_FIRMWARE_OPTIONS ? INVERS : 0);
y += FH;
if (menuVerticalPosition == ITEM_RADIO_FIRMWARE_OPTIONS && event == EVT_KEY_BREAK(KEY_ENTER)) {