mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
drivers/boson: Use timespec struct from header.
This commit is contained in:
parent
96034db229
commit
b765b478a5
@ -14,9 +14,9 @@
|
||||
|
||||
#ifndef _TIMEOUT_LOGIC_H
|
||||
#define _TIMEOUT_LOGIC_H
|
||||
#include <sys/timespec.h>
|
||||
|
||||
#define CLOCK_MONOTONIC 0
|
||||
struct timespec { long tv_sec; long tv_nsec; };
|
||||
int clock_gettime(int _ignore, struct timespec *spec);
|
||||
double difftime(long current, long reference);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user