mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
small fix for cherrypick
This commit is contained in:
parent
b38f4646de
commit
d35173c147
@ -280,9 +280,11 @@ void set_xpd_sar(bool en)
|
||||
}
|
||||
|
||||
s_wifi_adc_xpd_flag = en;
|
||||
#if !CONFIG_IDF_TARGET_ESP32C3
|
||||
if (en) {
|
||||
adc_power_acquire();
|
||||
} else {
|
||||
adc_power_release();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
@ -39,6 +39,13 @@ extern "C" {
|
||||
#define GDMA_LL_EVENT_RX_SUC_EOF (1<<1)
|
||||
#define GDMA_LL_EVENT_RX_DONE (1<<0)
|
||||
|
||||
#define GDMA_LL_TRIG_SRC_SPI2 (0)
|
||||
#define GDMA_LL_TRIG_SRC_UART (2)
|
||||
#define GDMA_LL_TRIG_SRC_I2S0 (3)
|
||||
#define GDMA_LL_TRIG_SRC_AES (6)
|
||||
#define GDMA_LL_TRIG_SRC_SHA (7)
|
||||
#define GDMA_LL_TRIG_SRC_ADC_DAC (8)
|
||||
|
||||
///////////////////////////////////// Common /////////////////////////////////////////
|
||||
/**
|
||||
* @brief Enable DMA channel M2M mode (TX channel n forward data to RX channel n), disabled by default
|
||||
|
Loading…
Reference in New Issue
Block a user