2020-11-03 16:06:30 +01:00
|
|
|
#ifndef FSFW_TIMEMANAGER_CLOCKDEFINITIONS_H_
|
|
|
|
#define FSFW_TIMEMANAGER_CLOCKDEFINITIONS_H_
|
|
|
|
|
|
|
|
#include <cstdint>
|
|
|
|
|
2020-11-03 16:46:43 +01:00
|
|
|
// I'd also like to include the TimeOfDay_t struct here, but that would
|
|
|
|
// break code which uses Clock::TimeOfDay_t. Solution would be to use
|
|
|
|
// a Clock namespace instead of class with static functions.
|
2020-11-03 16:06:30 +01:00
|
|
|
|
|
|
|
//! Don't use these for time points, type is not large enough for UNIX epoch.
|
|
|
|
using dur_millis_t = uint32_t;
|
|
|
|
|
|
|
|
#endif /* FSFW_TIMEMANAGER_CLOCKDEFINITIONS_H_ */
|