소스 검색

fix: remove a deprecated macro: SPI_TRANS_SET_CD

Wang Fang 4 년 전
부모
커밋
fec6e140fb
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      components/driver/include/driver/spi_master.h

+ 0 - 1
components/driver/include/driver/spi_master.h

@@ -116,7 +116,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.