Skip to content

Commit

Permalink
Missed a control in bootloader menu
Browse files Browse the repository at this point in the history
  • Loading branch information
richardclli committed Feb 3, 2025
1 parent 66af6be commit 321a7d4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions radio/src/targets/pl18/bootloader/boot_menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,17 @@ void bootloaderDrawScreen(BootloaderState st, int opt, const char* str)
y += 35;
#endif
#if defined(USB_SW_GPIO)
#if defined(RADIO_NV14_FAMILY)
if(hardwareOptions.pcbrev == PCBREV_EL18)
#endif
{
lcd->drawText(menuItemX, y, LV_SYMBOL_WIFI, BL_FOREGROUND);
npos = lcd->drawText(menuItemX + 24, y, TR_BL_RF_USB_ACCESS, BL_FOREGROUND);
npos += 8;
if (npos > pos)
pos = npos;
y += 35;
}
#endif
lcd->drawText(menuItemX, y, LV_SYMBOL_NEW_LINE, BL_FOREGROUND);
lcd->drawText(menuItemX + 24, y, TR_BL_EXIT, BL_FOREGROUND);
Expand Down

0 comments on commit 321a7d4

Please sign in to comment.