mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
[wpilib] Use misspell to find more spelling errors (NFC) (#2679)
This commit is contained in:
@@ -171,8 +171,8 @@ void Scheduler::InitSendable(SendableBuilder& builder) {
|
||||
// Cancel commands whose cancel buttons were pressed on the SmartDashboard
|
||||
if (!toCancel.empty()) {
|
||||
for (auto& command : m_impl->commands) {
|
||||
for (const auto& cancelled : toCancel) {
|
||||
if (command->GetID() == cancelled) {
|
||||
for (const auto& canceled : toCancel) {
|
||||
if (command->GetID() == canceled) {
|
||||
command->Cancel();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user