Mostly updated header files for use in C++

This commit is contained in:
Michael Jacobsen 2015-07-30 19:34:13 +02:00 committed by Angus Gratton
parent 3eee1a9845
commit da6b5f74bb
13 changed files with 97 additions and 8 deletions

View file

@ -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