mirror of
https://github.com/EdgeTX/edgetx.git
synced 2025-07-26 01:35:16 +03:00
Fix #6544
This commit is contained in:
parent
58104417bb
commit
2ac0fc1bdd
2 changed files with 2 additions and 2 deletions
|
@ -291,7 +291,7 @@ void menuRadioSdManager(event_t _event)
|
||||||
menuVerticalOffset = reusableBuffer.sdManager.offset;
|
menuVerticalOffset = reusableBuffer.sdManager.offset;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
#if defined(PCBX9) || defined(RADIO_X7) // TODO NO_MENU_KEY
|
#if defined(KEYS_GPIO_REG_MENU)
|
||||||
case EVT_KEY_LONG(KEY_MENU):
|
case EVT_KEY_LONG(KEY_MENU):
|
||||||
if (SD_CARD_PRESENT() && !READ_ONLY() && s_editMode == 0) {
|
if (SD_CARD_PRESENT() && !READ_ONLY() && s_editMode == 0) {
|
||||||
killEvents(_event);
|
killEvents(_event);
|
||||||
|
|
|
@ -166,7 +166,7 @@ void menuTextView(event_t event)
|
||||||
#else
|
#else
|
||||||
// TODO?
|
// TODO?
|
||||||
#endif
|
#endif
|
||||||
lcdDrawText(LCD_W/2-strlen(title)*FW/2, 0, title);
|
lcdDrawText(LCD_W/2-strlen(getBasename(title))*FW/2, 0, getBasename(title));
|
||||||
lcdInvertLine(0);
|
lcdInvertLine(0);
|
||||||
|
|
||||||
if (lines_count > LCD_LINES-1) {
|
if (lines_count > LCD_LINES-1) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue