From d16e08538ac44458fef791d6a7fa41151a00bc8f Mon Sep 17 00:00:00 2001 From: MDin Date: Thu, 4 Sep 2025 10:27:53 +0530 Subject: [PATCH 1/2] src/corelibs/spi: Compilation error fix. Signed-off-by: MDin --- src/corelibs/spi/test_spi_connected2_masterpingpong.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelibs/spi/test_spi_connected2_masterpingpong.cpp b/src/corelibs/spi/test_spi_connected2_masterpingpong.cpp index 06d8e42..e72a46e 100644 --- a/src/corelibs/spi/test_spi_connected2_masterpingpong.cpp +++ b/src/corelibs/spi/test_spi_connected2_masterpingpong.cpp @@ -20,7 +20,7 @@ #include #ifndef SPI_TRANSFER_DELAY #define SPI_TRANSFER_DELAY 500 -#else +#endif const uint8_t MAX_BUFFER_SIZE = 20; const uint8_t MAX_TEST_ITERATION = 10; From c7140471db3a5b9851b46060e2133d154c8874d8 Mon Sep 17 00:00:00 2001 From: MDin Date: Thu, 4 Sep 2025 10:36:19 +0530 Subject: [PATCH 2/2] src/corelibs/spi: Fix compilation issue. Signed-off-by: MDin --- src/corelibs/spi/test_spi_connected2_masterpingpong.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/corelibs/spi/test_spi_connected2_masterpingpong.cpp b/src/corelibs/spi/test_spi_connected2_masterpingpong.cpp index e72a46e..1ee6fac 100644 --- a/src/corelibs/spi/test_spi_connected2_masterpingpong.cpp +++ b/src/corelibs/spi/test_spi_connected2_masterpingpong.cpp @@ -18,8 +18,8 @@ // project includes #include -#ifndef SPI_TRANSFER_DELAY -#define SPI_TRANSFER_DELAY 500 +#ifndef SPI_TRANSFER_DELAY_US +#define SPI_TRANSFER_DELAY_US 500 #endif const uint8_t MAX_BUFFER_SIZE = 20; const uint8_t MAX_TEST_ITERATION = 10;