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:
tgc-dk 2024-10-03 08:34:08 +00:00 committed by GitHub
parent a30ab4827c
commit bb5c06f81f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;