[commands] Revert "WrappedCommand: Call wrapped command initSendable (#6471)" (#7353)

This reverts commit 7bc0380694.

Calling initSendable on the wrapped command is fundamentally flawed as the wrapper is the command being sent.
This commit is contained in:
Ryan Blue
2024-11-06 18:10:37 -05:00
committed by GitHub
parent 5a16b0e108
commit af652817d9
3 changed files with 0 additions and 12 deletions

View File

@@ -45,7 +45,3 @@ Command::InterruptionBehavior WrapperCommand::GetInterruptionBehavior() const {
wpi::SmallSet<Subsystem*, 4> WrapperCommand::GetRequirements() const {
return m_command->GetRequirements();
}
void WrapperCommand::InitSendable(wpi::SendableBuilder& builder) {
m_command->InitSendable(builder);
}