Skip to content

Commit

Permalink
[hal] Add ntcore to other libs in styleguide
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterJohnson committed Feb 6, 2025
1 parent 48ce2dc commit 4f34095
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions hal/.styleguide
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ includeOtherLibs {
^gtest/
^i2clib/
^llvm/
^networktables/
^ntcore
^opencv2/
^spilib/
^support/
Expand Down
11 changes: 5 additions & 6 deletions hal/src/main/native/systemcore/FRCDriverStation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@
// 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 <networktables/BooleanTopic.h>
#include <networktables/NetworkTableInstance.h>
#include <networktables/ProtobufTopic.h>
#include <networktables/StringArrayTopic.h>
#include <networktables/StringTopic.h>

#include <atomic>
#include <chrono>
#include <cstdio>
Expand All @@ -19,6 +13,11 @@
#include <utility>

#include <fmt/format.h>
#include <networktables/BooleanTopic.h>
#include <networktables/NetworkTableInstance.h>
#include <networktables/ProtobufTopic.h>
#include <networktables/StringArrayTopic.h>
#include <networktables/StringTopic.h>
#include <wpi/EventVector.h>
#include <wpi/SafeThread.h>
#include <wpi/SmallVector.h>
Expand Down
3 changes: 2 additions & 1 deletion hal/src/main/native/systemcore/SmartIo.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@

#include <string>

#include <networktables/IntegerTopic.h>

#include "PortsInternal.h"
#include "hal/handles/DigitalHandleResource.h"
#include "hal/handles/HandlesInternal.h"
#include "networktables/IntegerTopic.h"

namespace hal {

Expand Down

0 comments on commit 4f34095

Please sign in to comment.