hw_support: fixed regi2c not protected by lock on ESP32S2

This commit is contained in:
Michael (XIAO Xufeng)
2022-01-05 06:08:37 +00:00
parent c6aeb86485
commit d5bdf95580
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