[command] Rename PerpetualCommand to EndlessCommand (#4177)

This commit is contained in:
Starlight220
2022-04-28 19:38:38 +03:00
committed by GitHub
parent a06b3f0307
commit f7ca72fb41
8 changed files with 212 additions and 1 deletions

View File

@@ -28,8 +28,11 @@ namespace frc2 {
* component commands.
*
* This class is provided by the NewCommands VendorDep
*
* @deprecated replace with EndlessCommand
*/
class PerpetualCommand : public CommandHelper<CommandBase, PerpetualCommand> {
class WPI_DEPRECATED("Replace with EndlessCommand") PerpetualCommand
: public CommandHelper<CommandBase, PerpetualCommand> {
public:
/**
* Creates a new PerpetualCommand. Will run another command in perpetuity,