mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-04 03:11:43 +00:00
Fixing some compile warnings in C++
--HG-- extra : source : 84601b0b128cb508e13a1ae23fd648acc52990c8
This commit is contained in:
@@ -188,15 +188,3 @@ extern "C"
|
||||
uint32_t niTimestamp32(void);
|
||||
uint64_t niTimestamp64(void);
|
||||
}
|
||||
|
||||
/*
|
||||
* Return the PowerPC timestamp since boot in seconds.
|
||||
*
|
||||
* This is lower overhead than GetFPGATimestamp() but not synchronized with other FPGA timestamps.
|
||||
* @returns Robot running time in seconds.
|
||||
*/
|
||||
double Timer::GetPPCTimestamp()
|
||||
{
|
||||
// PPC system clock is 33MHz
|
||||
// XXX: return niTimestamp64() / 33.0e6;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user