From 12e243c51932a38e4b8b6cae7c77e0c7d84ad96a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 03:32:16 +0000 Subject: [PATCH] Formatting fixes --- wpilibcExamples/src/main/cpp/examples/HAL/c/Robot.c | 2 +- wpiutil/src/main/native/include/wpi/Synchronization.h | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/wpilibcExamples/src/main/cpp/examples/HAL/c/Robot.c b/wpilibcExamples/src/main/cpp/examples/HAL/c/Robot.c index c8fc0836567..b5da9163830 100644 --- a/wpilibcExamples/src/main/cpp/examples/HAL/c/Robot.c +++ b/wpilibcExamples/src/main/cpp/examples/HAL/c/Robot.c @@ -16,7 +16,7 @@ that want even more control over what code runs on their robot. #include #include -#include "wpi/Synchronization.h" +#include enum DriverStationMode { DisabledMode, diff --git a/wpiutil/src/main/native/include/wpi/Synchronization.h b/wpiutil/src/main/native/include/wpi/Synchronization.h index 9b99209ea49..4702e859ee6 100644 --- a/wpiutil/src/main/native/include/wpi/Synchronization.h +++ b/wpiutil/src/main/native/include/wpi/Synchronization.h @@ -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. @@ -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.