@@ -19,7 +19,8 @@
|
||||
*/
|
||||
|
||||
#include "opentx.h"
|
||||
#if defined(RADIO_TX16S)
|
||||
#if defined(HARDWARE_TOUCH)
|
||||
#include "touch.h"
|
||||
#include "tp_gt911.h"
|
||||
#include <math.h>
|
||||
#endif
|
||||
@@ -71,7 +72,7 @@ bool menuRadioDiagAnalogs(event_t event)
|
||||
lcdDrawText(MENUS_MARGIN_LEFT, MENU_CONTENT_TOP + 7 * FH, STR_TOUCH_PANEL);
|
||||
}
|
||||
|
||||
if (touchPanelEvent) {
|
||||
if (touchPanelEventOccured()) {
|
||||
touchPanelRead();
|
||||
lcdDrawNumber(lcdNextPos + 1, MENU_CONTENT_TOP + 7 * FH, touchState.x);
|
||||
lcdDrawText(lcdNextPos, MENU_CONTENT_TOP + 7 * FH, ", ");
|
||||
|
||||
Reference in New Issue
Block a user