mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
[sim] Change stepTiming to take seconds (#2599)
This is consistent with other WPILib timer functions.
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#include <hal/HALBase.h>
|
||||
#include <units/time.h>
|
||||
|
||||
namespace frc {
|
||||
namespace sim {
|
||||
@@ -30,7 +31,7 @@ void ResumeTiming();
|
||||
|
||||
bool IsTimingPaused();
|
||||
|
||||
void StepTiming(uint64_t delta);
|
||||
void StepTiming(units::second_t delta);
|
||||
|
||||
} // namespace sim
|
||||
} // namespace frc
|
||||
|
||||
Reference in New Issue
Block a user