[sim] Change stepTiming to take seconds (#2599)

This is consistent with other WPILib timer functions.
This commit is contained in:
Peter Johnson
2020-07-16 22:15:59 -07:00
committed by GitHub
parent c2cc90b27d
commit 9778445a74
3 changed files with 7 additions and 4 deletions

View File

@@ -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