Skip to content

Commit

Permalink
Formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and spacey-sooty committed Dec 3, 2024
1 parent cd4306e commit 34b4b95
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ private void initCommand(Command command, Set<Subsystem> requirements) {
* using those requirements have been scheduled as interruptible. If this is the case, they will
* be interrupted and the command will be scheduled.
*
* WARNING: using this function directly is often a footgun and should be avoided. Instead Triggers should be used to schedule Commands.
* <p>WARNING: using this function directly is often a footgun and should be avoided. Instead
* Triggers should be used to schedule Commands.
*
* @param command the command to schedule. If null, no-op.
*/
Expand Down Expand Up @@ -232,7 +233,8 @@ private void schedule(Command command) {
/**
* Schedules multiple commands for execution. Does nothing for commands already scheduled.
*
* WARNING: using this function directly is often a footgun and should be avoided. Instead Triggers should be used to schedule Commands.
* <p>WARNING: using this function directly is often a footgun and should be avoided. Instead
* Triggers should be used to schedule Commands.
*
* @param commands the commands to schedule. No-op on null.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ class CommandScheduler final : public wpi::Sendable,
* interruptible. If this is the case, they will be interrupted and the
* command will be scheduled.
*
* @warning Using this function directly is often a footgun and should be avoided. Instead Triggers should be used to schedule Commands.
* @warning Using this function directly is often a footgun and should be
* avoided. Instead Triggers should be used to schedule Commands.
*
* @param command the command to schedule
*/
Expand All @@ -113,7 +114,8 @@ class CommandScheduler final : public wpi::Sendable,
*
* The pointer must remain valid through the entire lifecycle of the command.
*
* @warning Using this function directly is often a footgun and should be avoided. Instead Triggers should be used to schedule Commands.
* @warning Using this function directly is often a footgun and should be
* avoided. Instead Triggers should be used to schedule Commands.
*
* @param command the command to schedule
*/
Expand All @@ -123,7 +125,8 @@ class CommandScheduler final : public wpi::Sendable,
* Schedules multiple commands for execution. Does nothing for commands
* already scheduled.
*
* @warning Using this function directly is often a footgun and should be avoided. Instead Triggers should be used to schedule Commands.
* @warning Using this function directly is often a footgun and should be
* avoided. Instead Triggers should be used to schedule Commands.
*
* @param commands the commands to schedule
*/
Expand All @@ -133,7 +136,8 @@ class CommandScheduler final : public wpi::Sendable,
* Schedules multiple commands for execution. Does nothing for commands
* already scheduled.
*
* @warning Using this function directly is often a footgun and should be avoided. Instead Triggers should be used to schedule Commands.
* @warning Using this function directly is often a footgun and should be
* avoided. Instead Triggers should be used to schedule Commands.
*
* @param commands the commands to schedule
*/
Expand Down

0 comments on commit 34b4b95

Please sign in to comment.