Skip to content

Commit

Permalink
Update OneButton.h
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaggyDog18 authored Jul 9, 2020
1 parent 043e99e commit db1e21e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/OneButton.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ class OneButton {
* Attach an event to be called after a tripple and more clicks are detected.
* @param newFunction
*/
void attachTrippleClick(callbackFunction newFunction);
void attachTripleClick(callbackFunction newFunction);
#ifdef PARAM_FUNC
void attachTrippleClick(parameterizedCallbackFunction newFunction, void* parameter);
void attachTripleClick(parameterizedCallbackFunction newFunction, void* parameter);
#endif

/**
Expand Down Expand Up @@ -200,10 +200,10 @@ class OneButton {
#endif

// new multiple click function
callbackFunction _trippleClickFunc = NULL;
callbackFunction _tripleClickFunc = NULL;
#ifdef PARAM_FUNC
parameterizedCallbackFunction _paramTrippleClickFunc = NULL;
void* _trippleClickFuncParam = NULL;
parameterizedCallbackFunction _paramTripleClickFunc = NULL;
void* _tripleClickFuncParam = NULL;
#endif

callbackFunction _pressFunc = NULL;
Expand Down

0 comments on commit db1e21e

Please sign in to comment.