mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 19:54:32 +02:00
Merge branch 'bugfix/rtc_cntl_h_cpp_guards' into 'master'
Add missing extern "C" to rtc_cntl.h Closes IDFGH-2419 See merge request espressif/esp-idf!7093
This commit is contained in:
@@ -18,6 +18,10 @@
|
|||||||
#include "esp_err.h"
|
#include "esp_err.h"
|
||||||
#include "esp_intr_alloc.h"
|
#include "esp_intr_alloc.h"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Register a handler for specific RTC_CNTL interrupts
|
* @brief Register a handler for specific RTC_CNTL interrupts
|
||||||
*
|
*
|
||||||
@@ -46,3 +50,7 @@ esp_err_t rtc_isr_register(intr_handler_t handler, void* handler_arg,
|
|||||||
* handler_arg isn't registered
|
* handler_arg isn't registered
|
||||||
*/
|
*/
|
||||||
esp_err_t rtc_isr_deregister(intr_handler_t handler, void* handler_arg);
|
esp_err_t rtc_isr_deregister(intr_handler_t handler, void* handler_arg);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
Reference in New Issue
Block a user