mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-25 02:57:33 +08:00
fix: Fix all files when change to use standard typedef
This commit is contained in:
@ -25,6 +25,9 @@
|
||||
#ifndef __ESP_TIMER_H__
|
||||
#define __ESP_TIMER_H__
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@ -35,8 +38,8 @@ typedef void os_timer_func_t(void *timer_arg);
|
||||
typedef struct _os_timer_t {
|
||||
struct _os_timer_t *timer_next;
|
||||
void *timer_handle;
|
||||
uint32 timer_expire;
|
||||
uint32 timer_period;
|
||||
uint32_t timer_expire;
|
||||
uint32_t timer_period;
|
||||
os_timer_func_t *timer_func;
|
||||
bool timer_repeat_flag;
|
||||
void *timer_arg;
|
||||
@ -79,7 +82,7 @@ void os_timer_setfn(os_timer_t *ptimer, os_timer_func_t *pfunction, void *parg);
|
||||
*
|
||||
* @return null
|
||||
*/
|
||||
void os_timer_arm(os_timer_t *ptimer, uint32 msec, bool repeat_flag);
|
||||
void os_timer_arm(os_timer_t *ptimer, uint32_t msec, bool repeat_flag);
|
||||
|
||||
/**
|
||||
* @brief Disarm the timer
|
||||
|
Reference in New Issue
Block a user