Blame view

orbimote/firmware/time_utils.h 238 Bytes
ca223e024   Jean-Michel Friedt   orbimote avec sof...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  
  #ifndef TIME_UTILS_H
  #define TIME_UTILS_H
  
  #include <time.h>
  
  #ifdef __cplusplus
  extern "C"
  {
  #endif
  
      void epoch_to_time(struct tm *timep, const uint32_t epoch);
  
      void print_time(const char *label, const struct tm *time);
  
  #endif