From 641e86c1dce317917952c684ec2aafd23f818d40 Mon Sep 17 00:00:00 2001 From: Wang Fang Date: Tue, 21 Dec 2021 17:44:15 +0800 Subject: [PATCH] fix: remove a deprecated macro: SPI_TRANS_SET_CD --- components/driver/include/driver/spi_master.h | 1 - 1 file changed, 1 deletion(-) diff --git a/components/driver/include/driver/spi_master.h b/components/driver/include/driver/spi_master.h index e6ed8c5a0a..176d4e6ccf 100644 --- a/components/driver/include/driver/spi_master.h +++ b/components/driver/include/driver/spi_master.h @@ -112,7 +112,6 @@ typedef struct { #define SPI_TRANS_VARIABLE_CMD (1<<5) ///< Use the ``command_bits`` in ``spi_transaction_ext_t`` rather than default value in ``spi_device_interface_config_t``. #define SPI_TRANS_VARIABLE_ADDR (1<<6) ///< Use the ``address_bits`` in ``spi_transaction_ext_t`` rather than default value in ``spi_device_interface_config_t``. #define SPI_TRANS_VARIABLE_DUMMY (1<<7) ///< Use the ``dummy_bits`` in ``spi_transaction_ext_t`` rather than default value in ``spi_device_interface_config_t``. -#define SPI_TRANS_SET_CD (1<<7) ///< Set the CD pin /** * This structure describes one SPI transaction. The descriptor should not be modified until the transaction finishes.