mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-02 10:00:57 +02:00
fix(ble): disabled get lc ts for ESP32-C3 and ESP32-S3
This commit is contained in:
@@ -242,9 +242,9 @@ extern uint32_t r_ble_lll_timer_current_tick_get(void);
|
||||
#elif defined(CONFIG_IDF_TARGET_ESP32C2)
|
||||
extern uint32_t r_os_cputime_get32(void);
|
||||
#define SPI_OUT_GET_LC_TIME r_os_cputime_get32()
|
||||
#elif defined(CONFIG_IDF_TARGET_ESP32C3) || defined(CONFIG_IDF_TARGET_ESP32S3)
|
||||
extern uint32_t lld_read_clock_us(void);
|
||||
#define SPI_OUT_GET_LC_TIME lld_read_clock_us()
|
||||
// #elif defined(CONFIG_IDF_TARGET_ESP32C3) || defined(CONFIG_IDF_TARGET_ESP32S3)
|
||||
// extern uint32_t lld_read_clock_us(void);
|
||||
// #define SPI_OUT_GET_LC_TIME lld_read_clock_us()
|
||||
#else
|
||||
#define SPI_OUT_GET_LC_TIME esp_timer_get_time()
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user