Revision d871cc15
| core/inc/aos_thread.h | ||
|---|---|---|
| 276 | 276 | 
    *  | 
| 277 | 277 | 
    * @return Absolute stack size in bytes.  | 
| 278 | 278 | 
    */  | 
| 279 | 
    static inline size_t aosThdGetStacksize(thread_t* thread)
   | 
|
| 279 | 
    inline size_t aosThdGetStacksize(thread_t* thread)  | 
|
| 280 | 280 | 
    {
   | 
| 281 | 281 | 
    aosDbgCheck(thread != NULL);  | 
| 282 | 282 | 
     | 
| core/src/aos_timer.c | ||
|---|---|---|
| 59 | 59 | 
    *  | 
| 60 | 60 | 
    * @param[in] timer Pointer to the timer to setup.  | 
| 61 | 61 | 
    */  | 
| 62 | 
    static inline void _setupTimer(aos_timer_t* timer)
   | 
|
| 62 | 
    static void _setupTimer(aos_timer_t* timer)  | 
|
| 63 | 63 | 
    {
   | 
| 64 | 64 | 
    aos_timestamp_t uptime;  | 
| 65 | 65 | 
     | 
| ... | ... | |
| 88 | 88 | 
    *  | 
| 89 | 89 | 
    * @param[in] ptimer Pointer to the periodic timer to setup.  | 
| 90 | 90 | 
    */  | 
| 91 | 
    static inline void _setupPeriodicTimer(aos_periodictimer_t *ptimer)
   | 
|
| 91 | 
    static void _setupPeriodicTimer(aos_periodictimer_t *ptimer)  | 
|
| 92 | 92 | 
    {
   | 
| 93 | 93 | 
    // if the periodic timer is being initialized  | 
| 94 | 94 | 
      if (ptimer->timer.wkuptime == 0) {
   | 
Also available in: Unified diff