mirror of
https://github.com/espressif/esp-idf
synced 2025-03-31 03:41:07 -04:00
Merge branch 'bugfix/missing_extern_c_4.2' into 'release/v4.2'
[test_utils]: added extern C decl to ccomp (backport 4.2) See merge request espressif/esp-idf!14327
This commit is contained in:
commit
2d83369184
@ -18,6 +18,10 @@
|
|||||||
|
|
||||||
#include "esp_err.h"
|
#include "esp_err.h"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Start the timer on the current core.
|
* @brief Start the timer on the current core.
|
||||||
*
|
*
|
||||||
@ -52,3 +56,7 @@ int64_t ccomp_timer_stop(void);
|
|||||||
* core.
|
* core.
|
||||||
*/
|
*/
|
||||||
int64_t ccomp_timer_get_time(void);
|
int64_t ccomp_timer_get_time(void);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user