diff --git a/Documentation b/Documentation index f080d80b68c..b4f9bbd9708 160000 --- a/Documentation +++ b/Documentation @@ -1 +1 @@ -Subproject commit f080d80b68c7f98694ab9db8fad0e4d27e2436d7 +Subproject commit b4f9bbd9708111b44d40ff19248b5493fdafc6c1 diff --git a/configs b/configs index 6789354447c..d9bb7ac167d 160000 --- a/configs +++ b/configs @@ -1 +1 @@ -Subproject commit 6789354447c099458909b61fd03bbec045f03eed +Subproject commit d9bb7ac167d730a1c152cea388852c8690795d93 diff --git a/sched/clock/clock_systimespec.c b/sched/clock/clock_systimespec.c index 030f3f7e0cf..260be4aab6f 100644 --- a/sched/clock/clock_systimespec.c +++ b/sched/clock/clock_systimespec.c @@ -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. */