Fix after merge

This commit is contained in:
Riku Isokoski 2021-08-17 16:01:18 +03:00
parent 5b969ccfa9
commit 9c175e2f0c

View file

@ -54,7 +54,7 @@ namespace {
} }
TouchEvents Convert(Pinetime::Drivers::Cst816S::TouchInfos info) { TouchEvents Convert(Pinetime::Drivers::Cst816S::TouchInfos info) {
if (info.isTouch) { if (info.isValid) {
switch (info.gesture) { switch (info.gesture) {
case Pinetime::Drivers::Cst816S::Gestures::SingleTap: case Pinetime::Drivers::Cst816S::Gestures::SingleTap:
return TouchEvents::Tap; return TouchEvents::Tap;