[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:
@@ -554,5 +554,6 @@ extern AuxSerialRxFifo auxSerialRxFifo;
|
||||
// Touch panel driver
|
||||
bool touchPanelEventOccured();
|
||||
struct TouchState touchPanelRead();
|
||||
struct TouchState getInternalTouchState();
|
||||
|
||||
#endif // _BOARD_H_
|
||||
|
||||
@@ -557,3 +557,8 @@ TouchState touchPanelRead()
|
||||
internalTouchState.event = TE_NONE;
|
||||
return ret;
|
||||
}
|
||||
|
||||
TouchState getInternalTouchState()
|
||||
{
|
||||
return internalTouchState;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user