Merge branch 'bugfix/regi2c_ctrl_spinlock_s2' into 'master'

hw_support: fixed regi2c not protected by lock on ESP32S2

See merge request espressif/esp-idf!16653
This commit is contained in:
Michael (XIAO Xufeng)
2022-03-13 02:47:53 +08:00
69 changed files with 421 additions and 646 deletions

View File

@@ -7,7 +7,6 @@
#include <stdbool.h>
#include <stdlib.h>
#include "regi2c_ctrl.h"
#include "esp_attr.h"
#include "soc/adc_periph.h"
@@ -18,6 +17,9 @@
#include "hal/misc.h"
#include "hal/adc_types.h"
#include "esp_private/regi2c_ctrl.h"
#include "regi2c_saradc.h"
#ifdef __cplusplus
extern "C" {
#endif