Skip to content

Commit

Permalink
Workaround interrupt happens when touch panel is idle.
Browse files Browse the repository at this point in the history
  • Loading branch information
richardclli committed Oct 6, 2023
1 parent e5aa715 commit 5011914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radio/src/targets/pl18/tp_cst340.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ void handleTouch()

bool touchPanelEventOccured()
{
return touchEventOccured;
return touchEventOccured && tc->detectTouch();
}

TouchState touchPanelRead()
Expand Down

0 comments on commit 5011914

Please sign in to comment.