@@ -86,7 +86,7 @@ class Button : public Trigger {
86
86
87
87
/* *
88
88
* Binds a command to be started repeatedly while the button is pressed, and
89
- * cancelled when it is released. Takes a raw pointer, and so is non-owning;
89
+ * canceled when it is released. Takes a raw pointer, and so is non-owning;
90
90
* users are responsible for the lifespan of the command.
91
91
*
92
92
* @param command The command to bind.
@@ -97,7 +97,7 @@ class Button : public Trigger {
97
97
98
98
/* *
99
99
* Binds a command to be started repeatedly while the button is pressed, and
100
- * cancelled when it is released. Transfers command ownership to the button
100
+ * canceled when it is released. Transfers command ownership to the button
101
101
* scheduler, so the user does not have to worry about lifespan - rvalue refs
102
102
* will be *moved*, lvalue refs will be *copied.*
103
103
*
@@ -131,7 +131,7 @@ class Button : public Trigger {
131
131
wpi::ArrayRef<Subsystem*> requirements = {});
132
132
133
133
/* *
134
- * Binds a command to be started when the button is pressed, and cancelled
134
+ * Binds a command to be started when the button is pressed, and canceled
135
135
* when it is released. Takes a raw pointer, and so is non-owning; users are
136
136
* responsible for the lifespan of the command.
137
137
*
@@ -142,7 +142,7 @@ class Button : public Trigger {
142
142
Button WhenHeld (Command* command, bool interruptible = true );
143
143
144
144
/* *
145
- * Binds a command to be started when the button is pressed, and cancelled
145
+ * Binds a command to be started when the button is pressed, and canceled
146
146
* when it is released. Transfers command ownership to the button scheduler,
147
147
* so the user does not have to worry about lifespan - rvalue refs will be
148
148
* *moved*, lvalue refs will be *copied.*
@@ -205,7 +205,7 @@ class Button : public Trigger {
205
205
wpi::ArrayRef<Subsystem*> requirements = {});
206
206
207
207
/* *
208
- * Binds a command to start when the button is pressed, and be cancelled when
208
+ * Binds a command to start when the button is pressed, and be canceled when
209
209
* it is pressed again. Takes a raw pointer, and so is non-owning; users are
210
210
* responsible for the lifespan of the command.
211
211
*
@@ -216,7 +216,7 @@ class Button : public Trigger {
216
216
Button ToggleWhenPressed (Command* command, bool interruptible = true );
217
217
218
218
/* *
219
- * Binds a command to start when the button is pressed, and be cancelled when
219
+ * Binds a command to start when the button is pressed, and be canceled when
220
220
* it is pessed again. Transfers command ownership to the button scheduler,
221
221
* so the user does not have to worry about lifespan - rvalue refs will be
222
222
* *moved*, lvalue refs will be *copied.*
@@ -233,7 +233,7 @@ class Button : public Trigger {
233
233
}
234
234
235
235
/* *
236
- * Binds a command to be cancelled when the button is pressed. Takes a
236
+ * Binds a command to be canceled when the button is pressed. Takes a
237
237
* raw pointer, and so is non-owning; users are responsible for the lifespan
238
238
* and scheduling of the command.
239
239
*
0 commit comments