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 Nov 4, 2024
1 parent 98b2b51 commit 1909d41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion wpilibcExamples/src/main/cpp/examples/HAL/c/Robot.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ that want even more control over what code runs on their robot.
#include <stdio.h>

#include <hal/HAL.h>
#include "wpi/Synchronization.h"
#include <wpi/Synchronization.h>

enum DriverStationMode {
DisabledMode,
Expand Down
5 changes: 2 additions & 3 deletions wpiutil/src/main/native/include/wpi/Synchronization.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ constexpr int kHandleTypeUserBase = 80;
* @param initialState true to make the event initially in signaled state
* @return Event handle
*/
WPI_EventHandle MakeEvent(bool manualReset = false,
bool initialState = false);
WPI_EventHandle MakeEvent(bool manualReset = false, bool initialState = false);

/**
* Destroys an event. Destruction wakes up any waiters.
Expand Down Expand Up @@ -94,7 +93,7 @@ void ResetEvent(WPI_EventHandle handle);
* @return Semaphore handle
*/
WPI_SemaphoreHandle MakeSemaphore(int initialCount = 0,
int maximumCount = INT_MAX);
int maximumCount = INT_MAX);

/**
* Destroys a semaphore. Destruction wakes up any waiters.
Expand Down

0 comments on commit 1909d41

Please sign in to comment.