Skip to content

Commit

Permalink
Update src/touchhandler/TouchHandler.h
Browse files Browse the repository at this point in the history
Set default value for the new parameter as suggested by NeroBurner

Co-authored-by: NeroBurner <[email protected]>
  • Loading branch information
tgc-dk and NeroBurner authored Oct 3, 2024
1 parent a30ab48 commit bb5c06f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/touchhandler/TouchHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace Pinetime {
bool touching;
};

TouchProcessReply ProcessTouchInfo(Drivers::Cst816S::TouchInfos info, bool buttonUnlocksOn);
TouchProcessReply ProcessTouchInfo(Drivers::Cst816S::TouchInfos info, bool buttonUnlocksOn=false);

bool IsTouching() const {
return currentTouchPoint.touching;
Expand Down

0 comments on commit bb5c06f

Please sign in to comment.