mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
Renames all our .hpp HAL files to .h (#44)
Adds consistency, as the HAL was .hpp however all other code was .h.
This commit is contained in:
committed by
Peter Johnson
parent
248ca0c4a0
commit
8fc55c80a9
@@ -5,7 +5,7 @@
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#include "HAL/Accelerometer.hpp"
|
||||
#include "HAL/Accelerometer.h"
|
||||
#include <jni.h>
|
||||
#include "edu_wpi_first_wpilibj_hal_AccelerometerJNI.h"
|
||||
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <jni.h>
|
||||
#include "Log.hpp"
|
||||
#include "Log.h"
|
||||
|
||||
#include "edu_wpi_first_wpilibj_hal_AnalogJNI.h"
|
||||
|
||||
#include "HAL/Analog.hpp"
|
||||
#include "HAL/Analog.h"
|
||||
#include "HALUtil.h"
|
||||
|
||||
// set the logging level
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <jni.h>
|
||||
#include "Log.hpp"
|
||||
#include "Log.h"
|
||||
|
||||
#include "edu_wpi_first_wpilibj_can_CANJNI.h"
|
||||
|
||||
#include "FRC_NetworkCommunication/CANSessionMux.h"
|
||||
#include "HAL/CAN.hpp"
|
||||
#include "HAL/CAN.h"
|
||||
#include "HALUtil.h"
|
||||
|
||||
// set the logging level
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#include "HAL/HAL.hpp"
|
||||
#include "HAL/HAL.h"
|
||||
#include "HALUtil.h"
|
||||
#include "Log.hpp"
|
||||
#include "Log.h"
|
||||
#include "edu_wpi_first_wpilibj_hal_CompressorJNI.h"
|
||||
|
||||
extern "C" {
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <jni.h>
|
||||
#include "Log.hpp"
|
||||
#include "Log.h"
|
||||
|
||||
#include "edu_wpi_first_wpilibj_hal_CounterJNI.h"
|
||||
|
||||
#include "HAL/Digital.hpp"
|
||||
#include "HAL/Errors.hpp"
|
||||
#include "HAL/Digital.h"
|
||||
#include "HAL/Errors.h"
|
||||
#include "HALUtil.h"
|
||||
|
||||
// set the logging level
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <jni.h>
|
||||
#include "Log.hpp"
|
||||
#include "Log.h"
|
||||
|
||||
#include "edu_wpi_first_wpilibj_hal_DIOJNI.h"
|
||||
|
||||
#include "HAL/Digital.hpp"
|
||||
#include "HAL/Digital.h"
|
||||
#include "HALUtil.h"
|
||||
|
||||
// set the logging level
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#include <jni.h>
|
||||
#include "HAL/HAL.hpp"
|
||||
#include "HAL/HAL.h"
|
||||
#include "HALUtil.h"
|
||||
|
||||
#include "edu_wpi_first_wpilibj_hal_DigitalGlitchFilterJNI.h"
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <jni.h>
|
||||
#include "Log.hpp"
|
||||
#include "Log.h"
|
||||
|
||||
#include "edu_wpi_first_wpilibj_hal_EncoderJNI.h"
|
||||
|
||||
#include "HAL/Digital.hpp"
|
||||
#include "HAL/Errors.hpp"
|
||||
#include "HAL/Digital.h"
|
||||
#include "HAL/Errors.h"
|
||||
#include "HALUtil.h"
|
||||
|
||||
// set the logging level
|
||||
|
||||
@@ -7,9 +7,9 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <jni.h>
|
||||
#include "Log.hpp"
|
||||
#include "Log.h"
|
||||
|
||||
#include "HAL/HAL.hpp"
|
||||
#include "HAL/HAL.h"
|
||||
#include "edu_wpi_first_wpilibj_communication_FRCNetworkCommunicationsLibrary.h"
|
||||
//#include "NetworkCommunication/FRCComm.h"
|
||||
//#include "NetworkCommunication/UsageReporting.h"
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
#include <cstring>
|
||||
#include <string>
|
||||
#include "FRC_NetworkCommunication/CANSessionMux.h"
|
||||
#include "HAL/HAL.hpp"
|
||||
#include "Log.hpp"
|
||||
#include "HAL/HAL.h"
|
||||
#include "Log.h"
|
||||
#include "edu_wpi_first_wpilibj_hal_HALUtil.h"
|
||||
#include "errno.h"
|
||||
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <jni.h>
|
||||
#include "Log.hpp"
|
||||
#include "Log.h"
|
||||
|
||||
#include "edu_wpi_first_wpilibj_hal_I2CJNI.h"
|
||||
|
||||
#include "HAL/Digital.hpp"
|
||||
#include "HAL/Digital.h"
|
||||
#include "HALUtil.h"
|
||||
|
||||
// set the logging level
|
||||
|
||||
@@ -11,9 +11,9 @@
|
||||
#include <condition_variable>
|
||||
#include <mutex>
|
||||
#include <thread>
|
||||
#include "Log.hpp"
|
||||
#include "Log.h"
|
||||
|
||||
#include "HAL/Interrupts.hpp"
|
||||
#include "HAL/Interrupts.h"
|
||||
#include "HALUtil.h"
|
||||
#include "SafeThread.h"
|
||||
#include "edu_wpi_first_wpilibj_hal_InterruptJNI.h"
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <jni.h>
|
||||
#include "Log.hpp"
|
||||
#include "Log.h"
|
||||
|
||||
#include "edu_wpi_first_wpilibj_hal_JNIWrapper.h"
|
||||
|
||||
#include "HAL/HAL.hpp"
|
||||
#include "HAL/HAL.h"
|
||||
|
||||
extern "C" {
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#include "HAL/Notifier.hpp"
|
||||
#include "HAL/Notifier.h"
|
||||
#include <assert.h>
|
||||
#include <jni.h>
|
||||
#include <stdio.h>
|
||||
@@ -15,7 +15,7 @@
|
||||
#include <mutex>
|
||||
#include <thread>
|
||||
#include "HALUtil.h"
|
||||
#include "Log.hpp"
|
||||
#include "Log.h"
|
||||
#include "SafeThread.h"
|
||||
#include "edu_wpi_first_wpilibj_hal_NotifierJNI.h"
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#include "HAL/PDP.hpp"
|
||||
#include "HAL/PDP.h"
|
||||
#include "HALUtil.h"
|
||||
#include "edu_wpi_first_wpilibj_hal_PDPJNI.h"
|
||||
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <jni.h>
|
||||
#include "Log.hpp"
|
||||
#include "Log.h"
|
||||
|
||||
#include "edu_wpi_first_wpilibj_hal_PWMJNI.h"
|
||||
|
||||
#include "HAL/Digital.hpp"
|
||||
#include "HAL/Digital.h"
|
||||
#include "HALUtil.h"
|
||||
|
||||
// set the logging level
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#include "HAL/Power.hpp"
|
||||
#include "HAL/Power.h"
|
||||
#include <jni.h>
|
||||
#include "HALUtil.h"
|
||||
#include "edu_wpi_first_wpilibj_hal_PowerJNI.h"
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <jni.h>
|
||||
#include "Log.hpp"
|
||||
#include "Log.h"
|
||||
|
||||
#include "edu_wpi_first_wpilibj_hal_RelayJNI.h"
|
||||
|
||||
#include "HAL/Digital.hpp"
|
||||
#include "HAL/Digital.h"
|
||||
#include "HALUtil.h"
|
||||
|
||||
// set the logging level
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <jni.h>
|
||||
#include "Log.hpp"
|
||||
#include "Log.h"
|
||||
|
||||
#include "edu_wpi_first_wpilibj_hal_SPIJNI.h"
|
||||
|
||||
#include "HAL/Digital.hpp"
|
||||
#include "HAL/Digital.h"
|
||||
#include "HALUtil.h"
|
||||
|
||||
// set the logging level
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <jni.h>
|
||||
#include "Log.hpp"
|
||||
#include "Log.h"
|
||||
|
||||
#include "edu_wpi_first_wpilibj_hal_SerialPortJNI.h"
|
||||
|
||||
#include "HAL/SerialPort.hpp"
|
||||
#include "HAL/SerialPort.h"
|
||||
#include "HALUtil.h"
|
||||
|
||||
// set the logging level
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#include <jni.h>
|
||||
#include "HAL/HAL.hpp"
|
||||
#include "Log.hpp"
|
||||
#include "HAL/HAL.h"
|
||||
#include "Log.h"
|
||||
|
||||
#include "edu_wpi_first_wpilibj_hal_SolenoidJNI.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user