Skip to content

Commit 1909d41

Browse files
Formatting fixes
1 parent 98b2b51 commit 1909d41

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

wpilibcExamples/src/main/cpp/examples/HAL/c/Robot.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ that want even more control over what code runs on their robot.
1616
#include <stdio.h>
1717

1818
#include <hal/HAL.h>
19-
#include "wpi/Synchronization.h"
19+
#include <wpi/Synchronization.h>
2020

2121
enum DriverStationMode {
2222
DisabledMode,

wpiutil/src/main/native/include/wpi/Synchronization.h

+2-3
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ constexpr int kHandleTypeUserBase = 80;
5858
* @param initialState true to make the event initially in signaled state
5959
* @return Event handle
6060
*/
61-
WPI_EventHandle MakeEvent(bool manualReset = false,
62-
bool initialState = false);
61+
WPI_EventHandle MakeEvent(bool manualReset = false, bool initialState = false);
6362

6463
/**
6564
* Destroys an event. Destruction wakes up any waiters.
@@ -94,7 +93,7 @@ void ResetEvent(WPI_EventHandle handle);
9493
* @return Semaphore handle
9594
*/
9695
WPI_SemaphoreHandle MakeSemaphore(int initialCount = 0,
97-
int maximumCount = INT_MAX);
96+
int maximumCount = INT_MAX);
9897

9998
/**
10099
* Destroys a semaphore. Destruction wakes up any waiters.

0 commit comments

Comments
 (0)