From 427ca824d3094684ea1f6f6c9bab087f277b6617 Mon Sep 17 00:00:00 2001 From: nopnop2002 Date: Sat, 8 Jun 2024 08:55:17 +0900 Subject: [PATCH] Testing workflows --- components/ili9340/ili9340.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/ili9340/ili9340.c b/components/ili9340/ili9340.c index 4a95324..2b143d5 100644 --- a/components/ili9340/ili9340.c +++ b/components/ili9340/ili9340.c @@ -192,8 +192,7 @@ bool spi_master_write_byte(spi_device_handle_t SPIHandle, const uint8_t* Data, s SPITransaction.tx_buffer = Data; #if 1 ret = spi_device_transmit( SPIHandle, &SPITransaction ); -#endif -#if 0 +#else ret = spi_device_polling_transmit( SPIHandle, &SPITransaction ); #endif assert(ret==ESP_OK);