Move convertUTCToTT, getLeapSeconds, checkOrCreateClockMutex,setLeapSeconds to generic Clock.h #431

Closed
opened 2021-06-14 14:31:22 +02:00 by gaisser · 1 comment
Owner

The implementations for:


static ReturnValue_t setLeapSeconds(const uint16_t leapSeconds_);

static ReturnValue_t convertUTCToTT(timeval utc, timeval* tt);

static ReturnValue_t getLeapSeconds(uint16_t *leapSeconds_);

static ReturnValue_t checkOrCreateClockMutex();

are identical in all OSALs. Move to generic Clock header or think of better implementations of clock systems.

The implementations for: ``` c++ static ReturnValue_t setLeapSeconds(const uint16_t leapSeconds_); static ReturnValue_t convertUTCToTT(timeval utc, timeval* tt); static ReturnValue_t getLeapSeconds(uint16_t *leapSeconds_); static ReturnValue_t checkOrCreateClockMutex(); ``` are identical in all OSALs. Move to generic Clock header or think of better implementations of clock systems.
gaisser added the
feature
label 2021-06-14 15:20:32 +02:00
gaisser self-assigned this 2021-06-14 15:20:35 +02:00
gaisser added this to the ASTP 1.1.0 milestone 2021-06-15 16:38:14 +02:00
Author
Owner

Part of #436

Part of #436
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: fsfw/fsfw#431
No description provided.