From 551504e773a4198eef1bd83e287714e409c25552 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Sun, 19 Nov 2017 11:47:37 -0800 Subject: [PATCH] Update documentation for Now() for 1 us steps. (#258) This is to match wpilibsuite/wpiutil#56. --- src/main/native/include/ntcore_c.h | 2 +- src/main/native/include/ntcore_cpp.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/native/include/ntcore_c.h b/src/main/native/include/ntcore_c.h index 324d657..dd72b86 100644 --- a/src/main/native/include/ntcore_c.h +++ b/src/main/native/include/ntcore_c.h @@ -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 diff --git a/src/main/native/include/ntcore_cpp.h b/src/main/native/include/ntcore_cpp.h index 098b3fb..1ac58d3 100644 --- a/src/main/native/include/ntcore_cpp.h +++ b/src/main/native/include/ntcore_cpp.h @@ -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