1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/atmega_common: add struct timespec to time.h

This commit is contained in:
Matthew Blue 2018-05-19 04:40:28 -04:00
parent b597700a67
commit 442634728f

View File

@ -501,6 +501,15 @@ extern "C" {
*/
unsigned long lm_sidereal(const time_t * timer);
/**
Definition of struct timespec for the atmega
NOTE: Added for RIOT compatibility and standard compliance
*/
struct timespec {
time_t tv_sec;
long tv_nsec;
};
/* @} */
#ifdef __cplusplus
}