mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 22:20:01 +08:00
Trivial improvement to comments
This commit is contained in:
+1
-1
Submodule Documentation updated: f080d80b68...b4f9bbd970
+1
-1
Submodule configs updated: 6789354447...d9bb7ac167
@@ -138,7 +138,10 @@ int clock_systimespec(FAR struct timespec *ts)
|
||||
uint64_t secs;
|
||||
uint64_t nsecs;
|
||||
|
||||
/* Get the time since power-on in seconds and microsecon */
|
||||
/* Get the time since power-on in seconds and microsecond.
|
||||
* NOTE that overflow is still possible if we use a 64-bit
|
||||
* timer.
|
||||
*/
|
||||
|
||||
usecs = (uint64_t)TICK2USEC(clock_systimer());
|
||||
secs = usecs / USEC_PER_SEC;
|
||||
@@ -161,7 +164,7 @@ int clock_systimespec(FAR struct timespec *ts)
|
||||
* of 10 milliseconds, the msecs value will overflow at about
|
||||
* 49.7 days.
|
||||
*
|
||||
* So, we will still use 64-bit calculations if we have them
|
||||
* So.. we will still use 64-bit calculations if we have them
|
||||
* in order to avoid that limitation.
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user