Revision f3ac1c96 core/src/aos_timer.c

View differences:

core/src/aos_timer.c
27 27

  
28 28
#include <aos_timer.h>
29 29

  
30
/******************************************************************************/
31
/* LOCAL DEFINITIONS                                                          */
32
/******************************************************************************/
33

  
34
/******************************************************************************/
35
/* EXPORTED VARIABLES                                                         */
36
/******************************************************************************/
37

  
38
/******************************************************************************/
39
/* LOCAL TYPES                                                                */
40
/******************************************************************************/
41

  
42
/******************************************************************************/
43
/* LOCAL VARIABLES                                                            */
44
/******************************************************************************/
45

  
46
/******************************************************************************/
47
/* LOCAL FUNCTIONS                                                            */
48
/******************************************************************************/
30 49
#include <aos_system.h>
31 50

  
32 51
/*
33
 * Forward declarations.
52
 * forward declarations
34 53
 */
35
static inline void _setupTimer(aos_timer_t* timer);
36
static inline void _setupPeriodicTimer(aos_periodictimer_t* ptimer);
37 54
static void _intermediateCb(void* timer);
38
static void _fireCb(void* timer);
55
static void _fireCb(void *timer);
39 56
static void _periodicCb(void* ptimer);
40 57

  
41 58
/**
......
134 151
  _setupPeriodicTimer((aos_periodictimer_t*)ptimer);
135 152
}
136 153

  
154
/******************************************************************************/
155
/* EXPORTED FUNCTIONS                                                         */
156
/******************************************************************************/
157

  
137 158
/**
138 159
 * @brief   Initialize a aos_timer_t object.
139 160
 *

Also available in: Unified diff