mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-14 13:03:33 +08:00
fix macos compile issues (#22173)
* fix macos compile issues * remove unused variable
This commit is contained in:
@@ -338,7 +338,7 @@ int work_usrthread(int argc, char *argv[])
|
||||
|
||||
#endif /* CONFIG_SCHED_USRWORK */
|
||||
|
||||
uint32_t clock_systimer()
|
||||
uint32_t clock_systimer(void)
|
||||
{
|
||||
//printf("clock_systimer: %0lx\n", hrt_absolute_time());
|
||||
return (0x00000000ffffffff & hrt_absolute_time());
|
||||
|
||||
Reference in New Issue
Block a user