continued
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -20,7 +20,12 @@
|
||||
|
||||
#include "ft5x06.h"
|
||||
|
||||
void toucDehInit(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bool touchInit(void)
|
||||
{
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
@@ -22,5 +22,6 @@
|
||||
#define _FT5X06_H_
|
||||
|
||||
bool touchInit(void);
|
||||
void touchDeInit(void);
|
||||
|
||||
#endif // _FT5X06_H_
|
||||
|
||||
Reference in New Issue
Block a user