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 Dec 15, 2024
1 parent 5d27b33 commit 87b450a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +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.
*
* <p>WARNING: using this function directly is often can lead to unexpected behavior and should be avoided. Instead
* Triggers should be used to schedule Commands.
* <p>WARNING: using this function directly is often can lead to unexpected behavior 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 @@ -233,8 +233,8 @@ private void schedule(Command command) {
/**
* Schedules multiple commands for execution. Does nothing for commands already scheduled.
*
* <p>WARNING: using this function directly is often can lead to unexpected behavior and should be avoided. Instead
* Triggers should be used to schedule Commands.
* <p>WARNING: using this function directly is often can lead to unexpected behavior 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 @@ -88,8 +88,9 @@ 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 can lead to unexpected behavior and should be
* avoided. Instead Triggers should be used to schedule Commands.
* @warning Using this function directly is often can lead to unexpected
* behavior and should be avoided. Instead Triggers should be used to schedule
* Commands.
*
* @param command the command to schedule
*/
Expand All @@ -115,8 +116,9 @@ 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 can lead to unexpected behavior and should be
* avoided. Instead Triggers should be used to schedule Commands.
* @warning Using this function directly is often can lead to unexpected
* behavior and should be avoided. Instead Triggers should be used to schedule
* Commands.
*
* @param command the command to schedule
*/
Expand All @@ -126,8 +128,9 @@ class CommandScheduler final : public wpi::Sendable,
* Schedules multiple commands for execution. Does nothing for commands
* already scheduled.
*
* @warning Using this function directly is often can lead to unexpected behavior and should be
* avoided. Instead Triggers should be used to schedule Commands.
* @warning Using this function directly is often can lead to unexpected
* behavior and should be avoided. Instead Triggers should be used to schedule
* Commands.
*
* @param commands the commands to schedule
*/
Expand All @@ -137,8 +140,9 @@ class CommandScheduler final : public wpi::Sendable,
* Schedules multiple commands for execution. Does nothing for commands
* already scheduled.
*
* @warning Using this function directly is often can lead to unexpected behavior and should be
* avoided. Instead Triggers should be used to schedule Commands.
* @warning Using this function directly is often can lead to unexpected
* behavior and should be avoided. Instead Triggers should be used to schedule
* Commands.
*
* @param commands the commands to schedule
*/
Expand Down

0 comments on commit 87b450a

Please sign in to comment.