Skip to content

Commit ced7f6b

Browse files
committed
Fixed wording in comments.
1 parent e000dba commit ced7f6b

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/LatchingButton.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ class LatchingButton : public TwoStateButton
7070

7171
// Status access functions. Call one of these in the "loop" to get the status of the button.
7272
public:
73-
// Returns true if the button is latched (locked in the pressed/on state) or false if it is not (off
74-
// state).
73+
// Returns true if the button is latched (locked in the pressed/on state) or false if it is
74+
// not (off state).
7575
bool pushed();
7676

7777
// Other control functions.

src/MomentaryButton.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class MomentaryButton : public TwoStateButton
4848

4949
~MomentaryButton();
5050

51-
// Status access functions. Call one of these in the "loop" to get the status of the button.
51+
// Status access functions. Call in the "loop" to get the status of the button.
5252
public:
5353
// Returns true if the button is currently pressed down and false otherwise.
5454
bool pushed();

src/PushEventButton.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ class PushEventButton : public TwoStateButton
6565
// Set the starting value. It can be a zero based or one based counter.
6666
void setCaptureType(CAPTURETYPE captureType);
6767

68-
// Status access functions. Call one of these in the "loop" to get the status of the button.
68+
// Status access functions. Call in the "loop" to get the status of the button.
6969
public:
70-
// Returns true if the button is currently pressed down and false otherwise.
70+
// Returns true on the first call after a button press and false otherwise.
7171
bool pushed();
7272

7373
private:

0 commit comments

Comments
 (0)