Fix after merge
This commit is contained in:
parent
5b969ccfa9
commit
9c175e2f0c
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue