[touch] Fix hardware touch diagnostics regression (#1314)
* fix touch screen test in analog input test screen * remove #if SIMU check for touch test * remove unneeded trace
This commit is contained in:
@@ -821,3 +821,9 @@ bool touchPanelEventOccured()
|
||||
{
|
||||
return touchEventOccured;
|
||||
}
|
||||
|
||||
TouchState getInternalTouchState()
|
||||
{
|
||||
return internalTouchState;
|
||||
}
|
||||
|
||||
|
||||
@@ -32,6 +32,7 @@ extern bool touchPanelInit();
|
||||
|
||||
struct TouchState touchPanelRead();
|
||||
bool touchPanelEventOccured();
|
||||
struct TouchState getInternalTouchState();
|
||||
|
||||
#define GT911_TIMEOUT 3 // 3ms
|
||||
|
||||
|
||||
Reference in New Issue
Block a user