mirror of
https://github.com/InfiniTimeOrg/InfiniTime.git
synced 2024-10-22 15:11:51 +02:00
Update src/touchhandler/TouchHandler.h
Set default value for the new parameter as suggested by NeroBurner Co-authored-by: NeroBurner <pyro4hell@gmail.com>
This commit is contained in:
parent
a30ab4827c
commit
bb5c06f81f
|
@ -24,7 +24,7 @@ namespace Pinetime {
|
||||||
bool touching;
|
bool touching;
|
||||||
};
|
};
|
||||||
|
|
||||||
TouchProcessReply ProcessTouchInfo(Drivers::Cst816S::TouchInfos info, bool buttonUnlocksOn);
|
TouchProcessReply ProcessTouchInfo(Drivers::Cst816S::TouchInfos info, bool buttonUnlocksOn=false);
|
||||||
|
|
||||||
bool IsTouching() const {
|
bool IsTouching() const {
|
||||||
return currentTouchPoint.touching;
|
return currentTouchPoint.touching;
|
||||||
|
|
Loading…
Reference in a new issue