mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Merge branch 'main' into 2027
This commit is contained in:
@@ -46,6 +46,10 @@ void Subsystem::Register() {
|
||||
return CommandScheduler::GetInstance().RegisterSubsystem(this);
|
||||
}
|
||||
|
||||
CommandPtr Subsystem::Idle() {
|
||||
return cmd::Idle({this});
|
||||
}
|
||||
|
||||
CommandPtr Subsystem::RunOnce(std::function<void()> action) {
|
||||
return cmd::RunOnce(std::move(action), {this});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user