Skip to content

Commit

Permalink
remove offending code
Browse files Browse the repository at this point in the history
  • Loading branch information
Avnzx committed Mar 7, 2022
1 parent bb6f2db commit 074ee2c
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions sysid-library/src/main/cpp/logging/SysIdLogger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,7 @@ void SysIdLogger::ClearWhenReceived() {
}
}

void SysIdLogger::UpdateThreadPriority() {
if constexpr (!frc::RobotBase::IsSimulation()) {
if (!frc::Notifier::SetHALThreadPriority(true, kHALThreadPriority) ||
!frc::SetCurrentThreadPriority(true, kThreadPriority)) {
throw std::runtime_error("Setting the RT Priority failed\n");
}
}
}
//void SysIdLogger::UpdateThreadPriority(){}

SysIdLogger::SysIdLogger() {
fmt::print("Initializing logger\n");
Expand Down

0 comments on commit 074ee2c

Please sign in to comment.