mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
SCRIPT: wpiformat
This commit is contained in:
committed by
Peter Johnson
parent
c48b722dac
commit
1e7604f81c
@@ -6,11 +6,10 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "wpi/util/spinlock.hpp"
|
||||
|
||||
#include "wpi/hal/simulation/AddressableLEDData.h"
|
||||
#include "wpi/hal/simulation/SimCallbackRegistry.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.h"
|
||||
#include "wpi/util/spinlock.hpp"
|
||||
|
||||
namespace hal {
|
||||
class AddressableLEDData {
|
||||
|
||||
@@ -6,11 +6,10 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "wpi/util/spinlock.hpp"
|
||||
|
||||
#include "wpi/hal/simulation/DriverStationData.h"
|
||||
#include "wpi/hal/simulation/SimCallbackRegistry.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.h"
|
||||
#include "wpi/util/spinlock.hpp"
|
||||
|
||||
namespace hal {
|
||||
|
||||
|
||||
@@ -2,6 +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 "../PortsInternal.h"
|
||||
#include "wpi/hal/simulation/AddressableLEDData.h"
|
||||
#include "wpi/hal/simulation/AnalogInData.h"
|
||||
#include "wpi/hal/simulation/CTREPCMData.h"
|
||||
@@ -18,8 +19,6 @@
|
||||
#include "wpi/hal/simulation/RoboRioData.h"
|
||||
#include "wpi/hal/simulation/SimDeviceData.h"
|
||||
|
||||
#include "../PortsInternal.h"
|
||||
|
||||
extern "C" void HALSIM_ResetAllSimData(void) {
|
||||
for (int32_t i = 0; i < hal::kNumAddressableLEDs; i++) {
|
||||
HALSIM_ResetAddressableLEDData(i);
|
||||
|
||||
@@ -7,10 +7,9 @@
|
||||
#include <cstddef>
|
||||
#include <string>
|
||||
|
||||
#include "wpi/util/spinlock.hpp"
|
||||
|
||||
#include "wpi/hal/simulation/RoboRioData.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.h"
|
||||
#include "wpi/util/spinlock.hpp"
|
||||
|
||||
namespace hal {
|
||||
class RoboRioData {
|
||||
|
||||
@@ -8,9 +8,8 @@
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
#include "wpi/util/StringExtras.hpp"
|
||||
|
||||
#include "SimDeviceDataInternal.h"
|
||||
#include "wpi/util/StringExtras.hpp"
|
||||
|
||||
using namespace hal;
|
||||
|
||||
|
||||
@@ -11,15 +11,14 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "wpi/hal/Value.h"
|
||||
#include "wpi/hal/simulation/SimCallbackRegistry.h"
|
||||
#include "wpi/hal/simulation/SimDeviceData.h"
|
||||
#include "wpi/util/StringExtras.hpp"
|
||||
#include "wpi/util/StringMap.hpp"
|
||||
#include "wpi/util/UidVector.hpp"
|
||||
#include "wpi/util/spinlock.hpp"
|
||||
|
||||
#include "wpi/hal/Value.h"
|
||||
#include "wpi/hal/simulation/SimCallbackRegistry.h"
|
||||
#include "wpi/hal/simulation/SimDeviceData.h"
|
||||
|
||||
namespace hal {
|
||||
|
||||
namespace impl {
|
||||
|
||||
Reference in New Issue
Block a user