timemanager update
This commit is contained in:
13
timemanager/clockDefinitions.h
Normal file
13
timemanager/clockDefinitions.h
Normal file
@ -0,0 +1,13 @@
|
||||
#ifndef FSFW_TIMEMANAGER_CLOCKDEFINITIONS_H_
|
||||
#define FSFW_TIMEMANAGER_CLOCKDEFINITIONS_H_
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
// 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.
|
||||
|
||||
//! 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_ */
|
Reference in New Issue
Block a user