[Horus] Segfault in popups displaying file lists

This commit is contained in:
Bertrand Songis
2016-01-20 15:15:51 +01:00
parent 1786d998f8
commit 30bf6f7530
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ bool sdListFiles(const char * path, const char * extension, const uint8_t maxlen
fno.lfsize = sizeof(lfn);
#endif
#if defined(PCBTARANIS)
#if defined(PCBTARANIS) || defined(PCBHORUS)
popupMenuOffsetType = MENU_OFFSET_EXTERNAL;
#endif
static uint16_t lastpopupMenuOffset = 0;