mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-02 02:51:42 +00:00
Add format script which invokes clang-format on the C++ source code (#41)
On Windows machines, clang-format.exe must be in the PATH environment variable.
This commit is contained in:
committed by
Peter Johnson
parent
68690643d2
commit
e14e45da76
@@ -10,7 +10,7 @@
|
||||
#include "Base.h"
|
||||
#include "HAL/cpp/priority_mutex.h"
|
||||
|
||||
typedef void (*TimerInterruptHandler)(void *param);
|
||||
typedef void (*TimerInterruptHandler)(void* param);
|
||||
|
||||
void Wait(double seconds);
|
||||
double GetClock();
|
||||
@@ -19,12 +19,10 @@ double GetTime();
|
||||
/**
|
||||
* Timer objects measure accumulated time in seconds.
|
||||
* The timer object functions like a stopwatch. It can be started, stopped, and
|
||||
* cleared. When the
|
||||
* timer is running its value counts up in seconds. When stopped, the timer
|
||||
* holds the current
|
||||
* value. The implementation simply records the time when started and subtracts
|
||||
* the current time
|
||||
* whenever the value is requested.
|
||||
* cleared. When the timer is running its value counts up in seconds. When
|
||||
* stopped, the timer holds the current value. The implementation simply records
|
||||
* the time when started and subtracts the current time whenever the value is
|
||||
* requested.
|
||||
*/
|
||||
class Timer {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user