Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterJohnson committed Aug 2, 2024
1 parent 841a64f commit ba16d34
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions hal/src/main/native/sim/HAL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@

#ifdef _WIN32
#include <Windows.h>
extern "C" NTSYSAPI NTSTATUS NTAPI NtSetTimerResolution(
ULONG DesiredResolution, BOOLEAN SetResolution, PULONG CurrentResolution);
extern "C" NTSYSAPI NTSTATUS NTAPI
NtQueryTimerResolution(PULONG MinimumResolution, PULONG MaximumResolution,
PULONG CurrentResolution);
#endif // _WIN32

#include "ErrorsInternal.h"
Expand All @@ -26,14 +31,6 @@
#include "hal/simulation/SimCallbackRegistry.h"
#include "mockdata/RoboRioDataInternal.h"

#ifdef _WIN32
extern "C" NTSYSAPI NTSTATUS NTAPI NtSetTimerResolution(
ULONG DesiredResolution, BOOLEAN SetResolution, PULONG CurrentResolution);
extern "C" NTSYSAPI NTSTATUS NTAPI
NtQueryTimerResolution(PULONG MinimumResolution, PULONG MaximumResolution,
PULONG CurrentResolution);
#endif // _WIN32

using namespace hal;

namespace {
Expand Down

0 comments on commit ba16d34

Please sign in to comment.