Skip to content

Commit

Permalink
Fix wpiformat config
Browse files Browse the repository at this point in the history
  • Loading branch information
jwbonner committed Nov 2, 2024
1 parent 14cb34b commit 61f29d1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 16 deletions.
11 changes: 2 additions & 9 deletions .styleguide
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,14 @@ cppSrcFileInclude {
}

modifiableFileExclude {
cmake/toolchains/
thirdparty/
\.patch$
gradlew
}

generatedFileExclude {
FRCNetComm\.java$
simulation/gz_msgs/src/include/simulation/gz_msgs/msgs\.h$
fieldImages/src/main/native/resources/
apriltag/src/test/resources/
wpilibc/src/generated/
}

repoRootNameOverride {
wpilib
urcl
}

includeOtherLibs {
Expand All @@ -51,4 +43,5 @@ includeOtherLibs {
^wpigui
^wpimath/
^wpinet/
^frc/
}
7 changes: 3 additions & 4 deletions src/main/native/cpp/URCL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@

#include "URCL.h"

#include <frc/DataLogManager.h>
#include <frc/Errors.h>
#include <frc/Notifier.h>

#include <cstdlib>
#include <cstring>
#include <functional>
Expand All @@ -19,6 +15,9 @@
#include <string>
#include <string_view>

#include <frc/DataLogManager.h>
#include <frc/Errors.h>
#include <frc/Notifier.h>
#include <networktables/NetworkTableInstance.h>
#include <networktables/RawTopic.h>
#include <units/time.h>
Expand Down
4 changes: 1 addition & 3 deletions src/main/native/include/URCL.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@

#pragma once

#include <frc/DataLogManager.h>
#include <frc/Notifier.h>

#include <networktables/RawTopic.h>
#include <wpi/DataLog.h>

#include "frc/DataLogManager.h"

/**
* URCL (Unofficial REV-Compatible Logger)
*
Expand Down

0 comments on commit 61f29d1

Please sign in to comment.