Skip to content
This repository has been archived by the owner on Sep 21, 2020. It is now read-only.

Commit

Permalink
Update documentation for Now() for 1 us steps. (#258)
Browse files Browse the repository at this point in the history
This is to match wpilibsuite/wpiutil#56.
  • Loading branch information
PeterJohnson authored Nov 19, 2017
1 parent 7eac3fc commit 551504e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/native/include/ntcore_c.h
Original file line number Diff line number Diff line change
Expand Up @@ -1287,7 +1287,7 @@ void NT_DisposeLogMessageArray(struct NT_LogMessage* arr, size_t count);
void NT_DisposeLogMessage(struct NT_LogMessage* info);

/**
* Returns monotonic current time in 100 ns increments.
* Returns monotonic current time in 1 us increments.
* This is the same time base used for entry and connection timestamps.
* This function is a compatibility wrapper around WPI_Now().
* @return Timestamp
Expand Down
2 changes: 1 addition & 1 deletion src/main/native/include/ntcore_cpp.h
Original file line number Diff line number Diff line change
Expand Up @@ -1343,7 +1343,7 @@ const char* LoadEntries(NT_Inst inst, StringRef filename, StringRef prefix,
*/

/**
* Returns monotonic current time in 100 ns increments.
* Returns monotonic current time in 1 us increments.
* This is the same time base used for entry and connection timestamps.
* This function is a compatibility wrapper around wpi::Now().
* @return Timestamp
Expand Down

0 comments on commit 551504e

Please sign in to comment.