mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
SCRIPT namespace replacements
This commit is contained in:
committed by
Peter Johnson
parent
ae6c043632
commit
9aca8e0fd6
@@ -3,23 +3,23 @@
|
||||
|
||||
#ifndef __FRC_SYSTEMCORE__
|
||||
|
||||
namespace frc::impl {
|
||||
namespace wpi::impl {
|
||||
void ResetSmartDashboardInstance();
|
||||
void ResetMotorSafety();
|
||||
} // namespace frc::impl
|
||||
} // namespace wpi::impl
|
||||
|
||||
namespace wpi::impl {
|
||||
void ResetSendableRegistry();
|
||||
} // namespace wpi::impl
|
||||
|
||||
void resetWpilibSimulationData() {
|
||||
frc::impl::ResetSmartDashboardInstance();
|
||||
frc::impl::ResetMotorSafety();
|
||||
wpi::impl::ResetSmartDashboardInstance();
|
||||
wpi::impl::ResetMotorSafety();
|
||||
wpi::impl::ResetSendableRegistry();
|
||||
}
|
||||
|
||||
void resetMotorSafety() {
|
||||
frc::impl::ResetMotorSafety();
|
||||
wpi::impl::ResetMotorSafety();
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user