Skip to content

Commit

Permalink
Formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 28, 2024
1 parent 32a9c22 commit 16c19f5
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 @@ -100,7 +101,8 @@ class CommandScheduler final : public wpi::Sendable,
* 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.
* @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 @@ -110,7 +112,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 @@ -120,7 +123,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 16c19f5

Please sign in to comment.