Fixed building of the frcsim-libwpilibsim-cpp deb.

There is still a bug where the examples have been updated to use 0 based
joysticks, but the simulation libraries have not been updated. I'll fix
that as a separate commit focused on fixing the joystick APIs.

Change-Id: I3b358e67b7fa18b30d1fd2b53098659cfefdfd76
This commit is contained in:
Alex Henning
2014-10-26 20:39:52 -04:00
parent 97be9765cd
commit fa8d7b843c
6 changed files with 27 additions and 68 deletions

View File

@@ -182,6 +182,14 @@ double Timer::GetFPGATimestamp()
return wpilib::internal::simTime;
}
/*
* Not in a match.
*/
double Timer::GetMatchTime()
{
return Timer::GetFPGATimestamp();
}
// Internal function that reads the PPC timestamp counter.
extern "C"
{