mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-28 02:11:43 +00:00
[hal] Consistently use .hpp for C++ header content
Some headers were renamed, but others were split.
This commit is contained in:
@@ -8,20 +8,20 @@
|
||||
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
#include <memory>
|
||||
#include <thread>
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "AddressableLEDSimd.h"
|
||||
#include "HALInitializer.h"
|
||||
#include "HALInternal.h"
|
||||
#include "PortsInternal.h"
|
||||
#include "SmartIo.h"
|
||||
#include "SystemServerInternal.h"
|
||||
#include "AddressableLEDSimd.hpp"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "HALInternal.hpp"
|
||||
#include "PortsInternal.hpp"
|
||||
#include "SmartIo.hpp"
|
||||
#include "SystemServerInternal.hpp"
|
||||
#include "wpi/hal/AddressableLEDTypes.h"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/cpp/fpga_clock.h"
|
||||
#include "wpi/hal/cpp/fpga_clock.hpp"
|
||||
#include "wpi/hal/handles/HandlesInternal.hpp"
|
||||
#include "wpi/nt/NetworkTableInstance.hpp"
|
||||
#include "wpi/nt/RawTopic.hpp"
|
||||
|
||||
|
||||
@@ -9,11 +9,11 @@
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include "HALInitializer.h"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/Types.h"
|
||||
#include "wpi/hal/handles/UnlimitedHandleResource.h"
|
||||
#include "wpi/hal/handles/UnlimitedHandleResource.hpp"
|
||||
#include "wpi/hal/simulation/AlertData.h"
|
||||
#include "wpi/util/mutex.hpp"
|
||||
#include "wpi/util/string.h"
|
||||
|
||||
@@ -7,14 +7,13 @@
|
||||
#include <cstdio>
|
||||
#include <thread>
|
||||
|
||||
#include "HALInitializer.h"
|
||||
#include "HALInternal.h"
|
||||
#include "PortsInternal.h"
|
||||
#include "SmartIo.h"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "HALInternal.hpp"
|
||||
#include "PortsInternal.hpp"
|
||||
#include "SmartIo.hpp"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/cpp/fpga_clock.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.h"
|
||||
#include "wpi/util/mutex.hpp"
|
||||
#include "wpi/hal/cpp/fpga_clock.hpp"
|
||||
#include "wpi/hal/handles/HandlesInternal.hpp"
|
||||
|
||||
namespace wpi::hal::init {
|
||||
void InitializeAnalogInput() {}
|
||||
|
||||
@@ -17,10 +17,10 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "PortsInternal.h"
|
||||
#include "PortsInternal.hpp"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/Threads.h"
|
||||
#include "wpi/hal/handles/UnlimitedHandleResource.h"
|
||||
#include "wpi/hal/handles/UnlimitedHandleResource.hpp"
|
||||
#include "wpi/net/EventLoopRunner.hpp"
|
||||
#include "wpi/net/uv/Poll.hpp"
|
||||
#include "wpi/net/uv/Timer.hpp"
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
#include <ctime>
|
||||
#include <memory>
|
||||
|
||||
#include "HALInitializer.h"
|
||||
#include "PortsInternal.h"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "PortsInternal.hpp"
|
||||
#include "wpi/hal/CAN.h"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/handles/UnlimitedHandleResource.h"
|
||||
#include "wpi/hal/handles/UnlimitedHandleResource.hpp"
|
||||
#include "wpi/util/DenseMap.hpp"
|
||||
#include "wpi/util/mutex.hpp"
|
||||
#include "wpi/util/timestamp.h"
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "HALInitializer.h"
|
||||
#include "HALInternal.h"
|
||||
#include "PortsInternal.h"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "HALInternal.hpp"
|
||||
#include "PortsInternal.hpp"
|
||||
#include "wpi/hal/CANAPI.h"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/handles/IndexedHandleResource.h"
|
||||
#include "wpi/hal/handles/IndexedHandleResource.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -8,14 +8,13 @@
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "HALInitializer.h"
|
||||
#include "HALInternal.h"
|
||||
#include "PortsInternal.h"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "HALInternal.hpp"
|
||||
#include "PortsInternal.hpp"
|
||||
#include "wpi/hal/CAN.h"
|
||||
#include "wpi/hal/CANAPI.h"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/handles/IndexedHandleResource.h"
|
||||
#include "wpi/util/mutex.hpp"
|
||||
#include "wpi/hal/handles/IndexedHandleResource.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "wpi/hal/Constants.h"
|
||||
|
||||
#include "ConstantsInternal.h"
|
||||
#include "ConstantsInternal.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -5,19 +5,15 @@
|
||||
#include "wpi/hal/Counter.h"
|
||||
|
||||
#include <cstdio>
|
||||
#include <limits>
|
||||
#include <memory>
|
||||
#include <thread>
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "HALInitializer.h"
|
||||
#include "HALInternal.h"
|
||||
#include "PortsInternal.h"
|
||||
#include "SmartIo.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/cpp/fpga_clock.h"
|
||||
#include "wpi/hal/handles/LimitedHandleResource.h"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "HALInternal.hpp"
|
||||
#include "PortsInternal.hpp"
|
||||
#include "SmartIo.hpp"
|
||||
#include "wpi/hal/cpp/fpga_clock.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -8,14 +8,13 @@
|
||||
#include <cstdio>
|
||||
#include <thread>
|
||||
|
||||
#include "HALInitializer.h"
|
||||
#include "HALInternal.h"
|
||||
#include "PortsInternal.h"
|
||||
#include "SmartIo.h"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "HALInternal.hpp"
|
||||
#include "PortsInternal.hpp"
|
||||
#include "SmartIo.hpp"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/cpp/fpga_clock.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.h"
|
||||
#include "wpi/hal/handles/LimitedHandleResource.h"
|
||||
#include "wpi/hal/cpp/fpga_clock.hpp"
|
||||
#include "wpi/hal/handles/HandlesInternal.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -5,17 +5,15 @@
|
||||
#include "wpi/hal/DutyCycle.h"
|
||||
|
||||
#include <cstdio>
|
||||
#include <memory>
|
||||
#include <thread>
|
||||
|
||||
#include "HALInitializer.h"
|
||||
#include "HALInternal.h"
|
||||
#include "PortsInternal.h"
|
||||
#include "SmartIo.h"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "HALInternal.hpp"
|
||||
#include "PortsInternal.hpp"
|
||||
#include "SmartIo.hpp"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/cpp/fpga_clock.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.h"
|
||||
#include "wpi/hal/handles/LimitedHandleResource.h"
|
||||
#include "wpi/hal/cpp/fpga_clock.hpp"
|
||||
#include "wpi/hal/handles/HandlesInternal.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -4,16 +4,10 @@
|
||||
|
||||
#include "wpi/hal/Encoder.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "HALInitializer.h"
|
||||
#include "HALInternal.h"
|
||||
#include "PortsInternal.h"
|
||||
#include "wpi/hal/Counter.h"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/handles/LimitedClassedHandleResource.h"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "HALInitializer.h"
|
||||
#include "SystemServerInternal.h"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "SystemServerInternal.hpp"
|
||||
#include "mrc/NtNetComm.h"
|
||||
#include "wpi/hal/DashboardOpMode.hpp"
|
||||
#include "wpi/hal/DriverStation.h"
|
||||
|
||||
@@ -17,14 +17,14 @@
|
||||
#include <thread>
|
||||
#include <utility>
|
||||
|
||||
#include "CANInternal.h"
|
||||
#include "HALInitializer.h"
|
||||
#include "HALInternal.h"
|
||||
#include "SystemServerInternal.h"
|
||||
#include "CANInternal.hpp"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "HALInternal.hpp"
|
||||
#include "SystemServerInternal.hpp"
|
||||
#include "wpi/hal/DriverStation.h"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/Notifier.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.hpp"
|
||||
#include "wpi/util/MemoryBuffer.hpp"
|
||||
#include "wpi/util/StringExtras.hpp"
|
||||
#include "wpi/util/fs.hpp"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// 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 "HALInitializer.h"
|
||||
#include "HALInitializer.hpp"
|
||||
|
||||
#include "wpi/hal/HALBase.h"
|
||||
|
||||
|
||||
@@ -14,11 +14,10 @@
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "HALInitializer.h"
|
||||
#include "HALInternal.h"
|
||||
#include "PortsInternal.h"
|
||||
#include "wpi/hal/DIO.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "HALInternal.hpp"
|
||||
#include "PortsInternal.hpp"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/util/mutex.hpp"
|
||||
#include "wpi/util/print.hpp"
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
|
||||
#include <numbers>
|
||||
|
||||
#include "HALInitializer.h"
|
||||
#include "SystemServerInternal.h"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "SystemServerInternal.hpp"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/nt/DoubleArrayTopic.hpp"
|
||||
#include "wpi/nt/DoubleTopic.hpp"
|
||||
|
||||
@@ -12,12 +12,12 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "HALInitializer.h"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/Threads.h"
|
||||
#include "wpi/hal/Types.h"
|
||||
#include "wpi/hal/handles/UnlimitedHandleResource.h"
|
||||
#include "wpi/hal/handles/UnlimitedHandleResource.hpp"
|
||||
#include "wpi/util/SafeThread.hpp"
|
||||
#include "wpi/util/Synchronization.h"
|
||||
#include "wpi/util/priority_queue.hpp"
|
||||
|
||||
@@ -4,21 +4,19 @@
|
||||
|
||||
#include "wpi/hal/PWM.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <cstdio>
|
||||
#include <thread>
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "HALInitializer.h"
|
||||
#include "HALInternal.h"
|
||||
#include "PortsInternal.h"
|
||||
#include "SmartIo.h"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "HALInternal.hpp"
|
||||
#include "PortsInternal.hpp"
|
||||
#include "SmartIo.hpp"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/cpp/fpga_clock.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.h"
|
||||
#include "wpi/util/print.hpp"
|
||||
#include "wpi/hal/cpp/fpga_clock.hpp"
|
||||
#include "wpi/hal/handles/HandlesInternal.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "wpi/hal/Ports.h"
|
||||
|
||||
#include "PortsInternal.h"
|
||||
#include "PortsInternal.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -4,10 +4,8 @@
|
||||
|
||||
#include "wpi/hal/Power.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "HALInitializer.h"
|
||||
#include "SystemServerInternal.h"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "SystemServerInternal.hpp"
|
||||
#include "mrc/NtNetComm.h"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/nt/DoubleTopic.hpp"
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
#include <thread>
|
||||
|
||||
#include "CTREPDP.h"
|
||||
#include "HALInternal.h"
|
||||
#include "PortsInternal.h"
|
||||
#include "HALInternal.hpp"
|
||||
#include "PortsInternal.hpp"
|
||||
#include "REVPDH.h"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -10,16 +10,16 @@
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "HALInitializer.h"
|
||||
#include "HALInternal.h"
|
||||
#include "PortsInternal.h"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "HALInternal.hpp"
|
||||
#include "PortsInternal.hpp"
|
||||
#include "rev/PDHFrames.h"
|
||||
#include "wpi/hal/CAN.h"
|
||||
#include "wpi/hal/CANAPI.h"
|
||||
#include "wpi/hal/CANAPITypes.h"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.h"
|
||||
#include "wpi/hal/handles/IndexedHandleResource.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.hpp"
|
||||
#include "wpi/hal/handles/IndexedHandleResource.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -9,13 +9,13 @@
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "HALInitializer.h"
|
||||
#include "HALInternal.h"
|
||||
#include "PortsInternal.h"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "HALInternal.hpp"
|
||||
#include "PortsInternal.hpp"
|
||||
#include "rev/PHFrames.h"
|
||||
#include "wpi/hal/CANAPI.h"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/handles/IndexedHandleResource.h"
|
||||
#include "wpi/hal/handles/IndexedHandleResource.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -20,9 +20,7 @@
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "HALInternal.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.h"
|
||||
#include "wpi/hal/handles/IndexedHandleResource.h"
|
||||
#include "wpi/hal/Errors.h"
|
||||
|
||||
namespace wpi::hal::init {
|
||||
void InitializeSerialPort() {}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// 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/SimDevice.h"
|
||||
#include "wpi/hal/SimDevice.hpp"
|
||||
|
||||
extern "C" {
|
||||
|
||||
|
||||
@@ -2,12 +2,10 @@
|
||||
// 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 "SmartIo.h"
|
||||
#include "SmartIo.hpp"
|
||||
|
||||
#include <atomic>
|
||||
|
||||
#include "HALInitializer.h"
|
||||
#include "SystemServerInternal.h"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "SystemServerInternal.hpp"
|
||||
#include "wpi/hal/AddressableLEDTypes.h"
|
||||
#include "wpi/hal/Errors.h"
|
||||
|
||||
|
||||
@@ -6,9 +6,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "PortsInternal.h"
|
||||
#include "wpi/hal/handles/DigitalHandleResource.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.h"
|
||||
#include "PortsInternal.hpp"
|
||||
#include "wpi/hal/handles/DigitalHandleResource.hpp"
|
||||
#include "wpi/nt/IntegerTopic.hpp"
|
||||
|
||||
namespace wpi::hal {
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "wpi/hal/SystemServer.h"
|
||||
|
||||
#include "SystemServerInternal.h"
|
||||
#include "SystemServerInternal.hpp"
|
||||
#include "mrc/NtNetComm.h"
|
||||
|
||||
namespace wpi::hal {
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "SystemServerInternal.h"
|
||||
#include "SystemServerInternal.hpp"
|
||||
#include "wpi/nt/NetworkTableInstance.hpp"
|
||||
#include "wpi/nt/StringTopic.hpp"
|
||||
#include "wpi/util/StringMap.hpp"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "wpi/hal/simulation/AddressableLEDData.h"
|
||||
|
||||
#include "wpi/hal/simulation/SimDataValue.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.hpp"
|
||||
|
||||
extern "C" {
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "wpi/hal/simulation/AnalogInData.h"
|
||||
|
||||
#include "wpi/hal/simulation/SimDataValue.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.hpp"
|
||||
|
||||
extern "C" {
|
||||
void HALSIM_ResetAnalogInData(int32_t index) {}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "wpi/hal/simulation/CTREPCMData.h"
|
||||
|
||||
#include "wpi/hal/simulation/SimDataValue.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.hpp"
|
||||
|
||||
extern "C" {
|
||||
void HALSIM_ResetCTREPCMData(int32_t index) {}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "wpi/hal/simulation/CanData.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.hpp"
|
||||
|
||||
extern "C" {
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "wpi/hal/simulation/DIOData.h"
|
||||
|
||||
#include "wpi/hal/simulation/SimDataValue.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.hpp"
|
||||
|
||||
extern "C" {
|
||||
void HALSIM_ResetDIOData(int32_t index) {}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "wpi/hal/simulation/DigitalPWMData.h"
|
||||
|
||||
#include "wpi/hal/simulation/SimDataValue.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.hpp"
|
||||
|
||||
extern "C" {
|
||||
int32_t HALSIM_FindDigitalPWMForChannel(int32_t channel) {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include "wpi/hal/simulation/DriverStationData.h"
|
||||
|
||||
#include "wpi/hal/DriverStationTypes.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.hpp"
|
||||
|
||||
extern "C" {
|
||||
void HALSIM_ResetDriverStationData(void) {}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "wpi/hal/simulation/DutyCycleData.h"
|
||||
|
||||
#include "wpi/hal/simulation/SimDataValue.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.hpp"
|
||||
|
||||
extern "C" {
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "wpi/hal/simulation/EncoderData.h"
|
||||
|
||||
#include "wpi/hal/simulation/SimDataValue.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.hpp"
|
||||
|
||||
extern "C" {
|
||||
int32_t HALSIM_FindEncoderForChannel(int32_t channel) {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "wpi/hal/simulation/I2CData.h"
|
||||
|
||||
#include "wpi/hal/simulation/SimDataValue.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.hpp"
|
||||
|
||||
extern "C" {
|
||||
void HALSIM_ResetI2CData(int32_t index) {}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "wpi/hal/simulation/PWMData.h"
|
||||
|
||||
#include "wpi/hal/simulation/SimDataValue.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.hpp"
|
||||
|
||||
extern "C" {
|
||||
void HALSIM_ResetPWMData(int32_t index) {}
|
||||
|
||||
@@ -4,8 +4,7 @@
|
||||
|
||||
#include "wpi/hal/simulation/PowerDistributionData.h"
|
||||
|
||||
#include "../PortsInternal.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.hpp"
|
||||
|
||||
extern "C" {
|
||||
void HALSIM_ResetPowerDistributionData(int32_t index) {}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "wpi/hal/simulation/REVPHData.h"
|
||||
|
||||
#include "wpi/hal/simulation/SimDataValue.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.hpp"
|
||||
|
||||
extern "C" {
|
||||
void HALSIM_ResetREVPHData(int32_t index) {}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "wpi/hal/simulation/RoboRioData.h"
|
||||
|
||||
#include "wpi/hal/simulation/SimDataValue.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.hpp"
|
||||
|
||||
extern "C" {
|
||||
void HALSIM_ResetRoboRioData(void) {}
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
|
||||
#include "wpi/hal/simulation/SimDeviceData.h"
|
||||
|
||||
#include "wpi/hal/simulation/SimDataValue.h"
|
||||
|
||||
extern "C" {
|
||||
|
||||
void HALSIM_SetSimDeviceEnabled(const char* prefix, HAL_Bool enabled) {}
|
||||
|
||||
Reference in New Issue
Block a user