diff --git a/radio/src/gui/480x272/radio_diagtouch.cpp b/radio/src/gui/480x272/radio_diagtouch.cpp index 756eb29a4..7e1d41bba 100644 --- a/radio/src/gui/480x272/radio_diagtouch.cpp +++ b/radio/src/gui/480x272/radio_diagtouch.cpp @@ -30,6 +30,10 @@ bool menuRadioDiagTouch(event_t event) if (event == EVT_ENTRY || event == EVT_ENTRY_UP) { touchAvailable = touchInit(); } + else if (menuEvent) { + touchDeInit(); + return false; + } if (touchAvailable) { lcdDrawText(LCD_W / 2, LCD_H / 2, STR_TOUCH_EXIT, CENTERED); diff --git a/radio/src/targets/horus/ft5x06.cpp b/radio/src/targets/horus/ft5x06.cpp index 29e752908..9c0f6332a 100644 --- a/radio/src/targets/horus/ft5x06.cpp +++ b/radio/src/targets/horus/ft5x06.cpp @@ -20,7 +20,12 @@ #include "ft5x06.h" +void toucDehInit(void) +{ + +} + bool touchInit(void) { - return true; + return false; } \ No newline at end of file diff --git a/radio/src/targets/horus/ft5x06.h b/radio/src/targets/horus/ft5x06.h index aeb63174f..01485d7da 100644 --- a/radio/src/targets/horus/ft5x06.h +++ b/radio/src/targets/horus/ft5x06.h @@ -22,5 +22,6 @@ #define _FT5X06_H_ bool touchInit(void); +void touchDeInit(void); #endif // _FT5X06_H_