mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 04:02:27 +00:00
global: make periph enable/disable APIs private
peripheral enable/disable usually should be managed by driver itself, so make it as espressif private APIs, not recommended for user to use it in application code. However, if user want to re-write the driver or ports to other platform, this is still possible by including the header in this way: "esp_private/peripheral_ctrl.h"
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
#include "soc/syscon_reg.h"
|
||||
#include "hal/interrupt_controller_hal.h"
|
||||
#include "phy_init_data.h"
|
||||
#include "driver/periph_ctrl.h"
|
||||
#include "esp_private/periph_ctrl.h"
|
||||
#include "nvs.h"
|
||||
#include "os.h"
|
||||
#include "esp_smartconfig.h"
|
||||
|
Reference in New Issue
Block a user