Skip to content
Snippets Groups Projects
Commit e69003cb authored by Gregory Nutt's avatar Gregory Nutt
Browse files

clock_systimespec(): Fixes for compilation errors in certain configurations. From Macs N.

parent 478e3632
No related branches found
No related tags found
No related merge requests found
......@@ -44,6 +44,7 @@
#include <nuttx/arch.h>
#include <nuttx/clock.h>
#include <nuttx/rtc.h>
#include "clock/clock.h"
......@@ -85,7 +86,7 @@ int clock_systimespec(FAR struct timespec *ts)
{
/* Get the hi-resolution time from the RTC */
return up_rtc_gettime(tp);
return up_rtc_gettime(ts);
}
else
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment