mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-28 02:11:43 +00:00
[hal] Rename HALBase.h to HAL.h (#8668)
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/util/SmallString.hpp"
|
||||
|
||||
namespace {
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <cstdio>
|
||||
#include <limits>
|
||||
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/util/print.hpp"
|
||||
|
||||
namespace wpi::hal {
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include "HALUtil.hpp"
|
||||
#include "org_wpilib_hardware_hal_DriverStationJNI.h"
|
||||
#include "wpi/hal/DriverStation.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/util/jni_util.hpp"
|
||||
|
||||
static_assert(
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include <jni.h>
|
||||
#include "wpi/hal/HAL.h"
|
||||
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include <jni.h>
|
||||
|
||||
#ifdef __FRC_SYSTEMCORE__
|
||||
#include <signal.h>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#include "wpi/hal/CAN.h"
|
||||
#include "wpi/hal/DriverStation.h"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/Value.h"
|
||||
#include "wpi/util/jni_util.hpp"
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include "OpModeOptionsCallbackStore.hpp"
|
||||
#include "SimDeviceDataJNI.hpp"
|
||||
#include "org_wpilib_hardware_hal_simulation_SimulatorJNI.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.hpp"
|
||||
#include "wpi/hal/simulation/MockHooks.h"
|
||||
#include "wpi/util/jni_util.hpp"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "wpi/hal/DriverStationTypes.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/Types.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
#include "HALInitializer.hpp"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/Types.h"
|
||||
#include "wpi/hal/handles/UnlimitedHandleResource.hpp"
|
||||
#include "wpi/hal/simulation/AlertData.h"
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "wpi/hal/HAL.h"
|
||||
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "wpi/hal/HALBase.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
#pragma comment(lib, "Winmm.lib")
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "HALInitializer.hpp"
|
||||
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
|
||||
namespace wpi::hal::init {
|
||||
std::atomic_bool HAL_IsInitialized{false};
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#include "HALInitializer.hpp"
|
||||
#include "NotifierInternal.hpp"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/Threads.h"
|
||||
#include "wpi/hal/Types.h"
|
||||
#include "wpi/hal/handles/UnlimitedHandleResource.hpp"
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
#include "HALInitializer.hpp"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/Types.h"
|
||||
#include "wpi/hal/handles/UnlimitedHandleResource.hpp"
|
||||
#include "wpi/hal/simulation/AlertData.h"
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "wpi/hal/HAL.h"
|
||||
|
||||
#include <dlfcn.h>
|
||||
#include <signal.h> // linux for kill
|
||||
#include <sys/prctl.h>
|
||||
@@ -17,7 +19,6 @@
|
||||
#include "SystemServerInternal.hpp"
|
||||
#include "wpi/hal/CAN.h"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/util/StringExtras.hpp"
|
||||
#include "wpi/util/mutex.hpp"
|
||||
#include "wpi/util/timestamp.hpp"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "HALInitializer.hpp"
|
||||
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
|
||||
namespace wpi::hal::init {
|
||||
std::atomic_bool HAL_IsInitialized{false};
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
#include "HALInitializer.hpp"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/Threads.h"
|
||||
#include "wpi/hal/Types.h"
|
||||
#include "wpi/hal/handles/UnlimitedHandleResource.hpp"
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include "PortsInternal.hpp"
|
||||
#include "REVPDH.h"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
Reference in New Issue
Block a user