File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -83,10 +83,6 @@ static IRAM_ATTR void spi_post_setup(struct spi_slave_transaction_t * _transacti
83
83
gpio_set_level (ESP_RTT_GPIO , 1 );
84
84
}
85
85
86
- static IRAM_ATTR void spi_transaction_started_handler (void * _param ) {
87
- gpio_set_level (ESP_RTT_GPIO , 0 );
88
- }
89
-
90
86
static IRAM_ATTR void spi_post_transfer (struct spi_slave_transaction_t * _transaction ) {
91
87
gpio_set_level (ESP_RTT_GPIO , 0 );
92
88
}
@@ -164,13 +160,10 @@ void spi_transport_init() {
164
160
gpio_intr_enable (GAP_RTT_GPIO );
165
161
166
162
gpio_config_t spi_cs_int_config = {
167
- .intr_type = GPIO_INTR_NEGEDGE ,
168
163
.mode = GPIO_MODE_INPUT ,
169
164
.pin_bit_mask = (1ull <<SPI_CS_GPIO )
170
165
};
171
166
gpio_config (& spi_cs_int_config );
172
- gpio_isr_handler_add (SPI_CS_GPIO , spi_transaction_started_handler , NULL );
173
- gpio_intr_enable (SPI_CS_GPIO );
174
167
175
168
gpio_config_t esp_rtt_conf = {
176
169
.mode = GPIO_MODE_OUTPUT ,
You can’t perform that action at this time.
0 commit comments