Test SPISlave \\ Current lib. does not work on STM32F446RE

Revision:
1:a63fb13a0112
Parent:
0:8f9f2c56e597
--- a/main.cpp	Sat Nov 18 10:15:30 2017 +0000
+++ b/main.cpp	Sat Nov 18 22:21:48 2017 +0000
@@ -45,7 +45,7 @@
 #define     WORKS_WELL      0
 
 #if (DOES_NOT_WORK + WORKS_WELL) != 1
-#error "Please set either A or B to 1”
+#error "Please set either DOES_NOT_WORK or WORKS_WELL to 1”
 #endif
 
 //  Constructor ----------------------------------------------------------------
@@ -70,7 +70,7 @@
     uint16_t spi2_data = 0;
 
     pc.printf("Start SPI Master & SPI Slave control program\r\n");
-    spi_1.format(16, 3);    // 16bit, CPOL=1, CPHA=0
+    spi_1.format(16, 3);    // 16bit, CPOL=1, CPHA=1
     spi_2.format(16, 3);
     spi_3.format(16, 3);
     print_port();