Skip to content

Commit 6112ca8

Browse files
mprsefkjagodzinski
andcommitted
FPGA SPI test: Fix unsupported transfer case
Co-Authored-By: Filip Jagodziński <[email protected]>
1 parent 7d7c141 commit 6112ca8

File tree

1 file changed

+1
-1
lines changed
  • TESTS/mbed_hal_fpga_ci_test_shield/spi

1 file changed

+1
-1
lines changed

TESTS/mbed_hal_fpga_ci_test_shield/spi/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ void spi_test_common(PinName mosi, PinName miso, PinName sclk, PinName ssel, SPI
147147
#endif
148148

149149
default:
150-
TEST_ASSERT_TRUE(false);
150+
TEST_ASSERT_MESSAGE(0, "Unsupported transfer type.");
151151
break;
152152

153153
}

0 commit comments

Comments
 (0)