mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-05 03:21:42 +00:00
[hal] Consistently use .hpp for C++ header content
Some headers were renamed, but others were split.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "wpi/hal/SimDevice.h"
|
||||
#include "wpi/hal/SimDevice.hpp"
|
||||
#include "wpi/hardware/bus/I2C.hpp"
|
||||
#include "wpi/nt/NTSendable.hpp"
|
||||
#include "wpi/util/sendable/SendableHelper.hpp"
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#include "wpi/hal/CANAPI.h"
|
||||
#include "wpi/hal/Types.hpp"
|
||||
|
||||
namespace wpi {
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
#include "wpi/hal/I2C.h"
|
||||
#include "wpi/hal/I2CTypes.h"
|
||||
#include "wpi/hal/Types.hpp"
|
||||
|
||||
namespace wpi {
|
||||
|
||||
|
||||
@@ -4,11 +4,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
||||
#include "wpi/hal/SerialPort.h"
|
||||
#include "wpi/hal/Types.h"
|
||||
#include "wpi/hal/Types.hpp"
|
||||
#include "wpi/units/time.hpp"
|
||||
|
||||
namespace wpi {
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#include "wpi/hal/AnalogInput.h"
|
||||
#include "wpi/hal/Types.h"
|
||||
#include "wpi/hal/Types.hpp"
|
||||
#include "wpi/util/sendable/Sendable.hpp"
|
||||
#include "wpi/util/sendable/SendableHelper.hpp"
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "wpi/hal/DIO.h"
|
||||
#include "wpi/hal/Types.hpp"
|
||||
#include "wpi/util/sendable/Sendable.hpp"
|
||||
#include "wpi/util/sendable/SendableHelper.hpp"
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "wpi/hal/DIO.h"
|
||||
#include "wpi/hal/Types.h"
|
||||
#include "wpi/hal/Types.hpp"
|
||||
#include "wpi/units/time.hpp"
|
||||
#include "wpi/util/sendable/Sendable.hpp"
|
||||
#include "wpi/util/sendable/SendableHelper.hpp"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#include "wpi/hal/PWM.h"
|
||||
#include "wpi/hal/Types.h"
|
||||
#include "wpi/hal/Types.hpp"
|
||||
#include "wpi/units/time.hpp"
|
||||
#include "wpi/util/sendable/Sendable.hpp"
|
||||
#include "wpi/util/sendable/SendableHelper.hpp"
|
||||
|
||||
@@ -9,8 +9,7 @@
|
||||
|
||||
#include "wpi/hal/AddressableLED.h"
|
||||
#include "wpi/hal/AddressableLEDTypes.h"
|
||||
#include "wpi/hal/Types.h"
|
||||
#include "wpi/units/time.hpp"
|
||||
#include "wpi/hal/Types.hpp"
|
||||
#include "wpi/util/Color.hpp"
|
||||
#include "wpi/util/Color8Bit.hpp"
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "wpi/hal/SimDevice.h"
|
||||
#include "wpi/hal/SimDevice.hpp"
|
||||
#include "wpi/hardware/discrete/PWM.hpp"
|
||||
#include "wpi/hardware/motor/MotorController.hpp"
|
||||
#include "wpi/hardware/motor/MotorSafety.hpp"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include "wpi/hal/PowerDistribution.h"
|
||||
#include "wpi/hal/Types.h"
|
||||
#include "wpi/hal/Types.hpp"
|
||||
#include "wpi/util/sendable/Sendable.hpp"
|
||||
#include "wpi/util/sendable/SendableHelper.hpp"
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "wpi/hal/SimDevice.h"
|
||||
#include "wpi/hal/SimDevice.hpp"
|
||||
#include "wpi/hardware/discrete/AnalogInput.hpp"
|
||||
#include "wpi/units/length.hpp"
|
||||
#include "wpi/util/sendable/Sendable.hpp"
|
||||
|
||||
@@ -6,8 +6,7 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "wpi/hal/SimDevice.h"
|
||||
#include "wpi/hal/Types.h"
|
||||
#include "wpi/hal/SimDevice.hpp"
|
||||
#include "wpi/util/sendable/Sendable.hpp"
|
||||
#include "wpi/util/sendable/SendableHelper.hpp"
|
||||
|
||||
|
||||
@@ -4,10 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "wpi/hal/DutyCycle.h"
|
||||
#include "wpi/hal/Types.h"
|
||||
#include "wpi/hal/Types.hpp"
|
||||
#include "wpi/units/frequency.hpp"
|
||||
#include "wpi/units/time.hpp"
|
||||
#include "wpi/util/sendable/Sendable.hpp"
|
||||
|
||||
@@ -6,8 +6,7 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "wpi/hal/SimDevice.h"
|
||||
#include "wpi/hal/Types.h"
|
||||
#include "wpi/hal/SimDevice.hpp"
|
||||
#include "wpi/units/frequency.hpp"
|
||||
#include "wpi/units/time.hpp"
|
||||
#include "wpi/util/sendable/Sendable.hpp"
|
||||
|
||||
@@ -4,10 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "wpi/hal/Encoder.h"
|
||||
#include "wpi/hal/Types.h"
|
||||
#include "wpi/hal/Types.hpp"
|
||||
#include "wpi/hardware/discrete/CounterBase.hpp"
|
||||
#include "wpi/util/sendable/Sendable.hpp"
|
||||
#include "wpi/util/sendable/SendableHelper.hpp"
|
||||
|
||||
Reference in New Issue
Block a user