1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-13 03:19:53 +03:00

Fix uninitialized reusable buffer

This commit is contained in:
3djc 2023-12-19 16:06:46 +01:00
parent 980247ba94
commit fd1d526634

View file

@ -300,9 +300,9 @@ void menuRadioSdManager(event_t _event)
if (_event == EVT_ENTRY) { if (_event == EVT_ENTRY) {
f_chdir(ROOT_PATH); f_chdir(ROOT_PATH);
#idefined(LCD_W >= 212 ) #if defined(LCD_W >= 212 )
lastPos = -1; lastPos = -1;
#eif #endif
} }
if (_event == EVT_ENTRY || _event == EVT_ENTRY_UP) { if (_event == EVT_ENTRY || _event == EVT_ENTRY_UP) {