Mostly updated header files for use in C++
This commit is contained in:
parent
3eee1a9845
commit
da6b5f74bb
13 changed files with 97 additions and 8 deletions
|
|
@ -6,6 +6,10 @@
|
|||
#ifndef __ESP_TIMER_H__
|
||||
#define __ESP_TIMER_H__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* timer related */
|
||||
typedef void sdk_os_timer_func_t(void *timer_arg);
|
||||
|
||||
|
|
@ -19,4 +23,8 @@ typedef struct _os_timer_t {
|
|||
void *timer_arg;
|
||||
} sdk_os_timer_t;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue