Remove large HAL headers from wpilibc headers (#1386)

Now only includes the types in the wpilib headers.
Should immensely clean up intellisense.

Closes #1383
This commit is contained in:
Thad House
2018-10-29 12:49:17 -07:00
committed by Peter Johnson
parent f774e47c80
commit f0b0965f9b
48 changed files with 466 additions and 355 deletions

View File

@@ -10,7 +10,8 @@
#ifndef __FRC_ROBORIO__
#include "NotifyListener.h"
#include "hal/HAL.h"
#include "hal/Accelerometer.h"
#include "hal/Types.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -10,7 +10,7 @@
#ifndef __FRC_ROBORIO__
#include "NotifyListener.h"
#include "hal/HAL.h"
#include "hal/Types.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -10,7 +10,7 @@
#ifndef __FRC_ROBORIO__
#include "NotifyListener.h"
#include "hal/HAL.h"
#include "hal/Types.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -10,7 +10,7 @@
#ifndef __FRC_ROBORIO__
#include "NotifyListener.h"
#include "hal/HAL.h"
#include "hal/Types.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -10,7 +10,7 @@
#ifndef __FRC_ROBORIO__
#include "NotifyListener.h"
#include "hal/HAL.h"
#include "hal/Types.h"
enum HALSIM_AnalogTriggerMode : int32_t {
HALSIM_AnalogTriggerUnassigned,

View File

@@ -11,7 +11,7 @@
#include "HAL_Value.h"
#include "NotifyListener.h"
#include "hal/HAL.h"
#include "hal/Types.h"
typedef void (*HAL_CAN_SendMessageCallback)(const char* name, void* param,
uint32_t messageID,

View File

@@ -10,7 +10,7 @@
#ifndef __FRC_ROBORIO__
#include "NotifyListener.h"
#include "hal/HAL.h"
#include "hal/Types.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -10,7 +10,7 @@
#ifndef __FRC_ROBORIO__
#include "NotifyListener.h"
#include "hal/HAL.h"
#include "hal/Types.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -10,8 +10,8 @@
#ifndef __FRC_ROBORIO__
#include "NotifyListener.h"
#include "hal/DriverStation.h"
#include "hal/HAL.h"
#include "hal/DriverStationTypes.h"
#include "hal/Types.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -10,7 +10,7 @@
#ifndef __FRC_ROBORIO__
#include "NotifyListener.h"
#include "hal/HAL.h"
#include "hal/Types.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -10,7 +10,7 @@
#ifndef __FRC_ROBORIO__
#include "NotifyListener.h"
#include "hal/HAL.h"
#include "hal/Types.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -10,7 +10,7 @@
#ifndef __FRC_ROBORIO__
#include "NotifyListener.h"
#include "hal/HAL.h"
#include "hal/Types.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -10,7 +10,7 @@
#ifndef __FRC_ROBORIO__
#include "NotifyListener.h"
#include "hal/HAL.h"
#include "hal/Types.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -10,7 +10,7 @@
#ifndef __FRC_ROBORIO__
#include "NotifyListener.h"
#include "hal/HAL.h"
#include "hal/Types.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -10,7 +10,7 @@
#ifndef __FRC_ROBORIO__
#include "NotifyListener.h"
#include "hal/HAL.h"
#include "hal/Types.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -10,7 +10,7 @@
#ifndef __FRC_ROBORIO__
#include "NotifyListener.h"
#include "hal/HAL.h"
#include "hal/Types.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -10,7 +10,7 @@
#ifndef __FRC_ROBORIO__
#include "NotifyListener.h"
#include "hal/HAL.h"
#include "hal/Types.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -10,7 +10,7 @@
#ifndef __FRC_ROBORIO__
#include "NotifyListener.h"
#include "hal/HAL.h"
#include "hal/Types.h"
typedef void (*HAL_SpiReadAutoReceiveBufferCallback)(const char* name,
void* param,