diff --git a/cores/msp432r/ti/runtime/wiring/SPI.h b/cores/msp432r/ti/runtime/wiring/SPI.h index 3b388dfd..59539ad2 100644 --- a/cores/msp432r/ti/runtime/wiring/SPI.h +++ b/cores/msp432r/ti/runtime/wiring/SPI.h @@ -38,10 +38,10 @@ #include #include -#define SPI_MODE0 SPI_POL0_PHA1 -#define SPI_MODE1 SPI_POL0_PHA0 -#define SPI_MODE2 SPI_POL0_PHA1 -#define SPI_MODE3 SPI_POL0_PHA0 +#define SPI_MODE0 SPI_POL0_PHA0 +#define SPI_MODE1 SPI_POL0_PHA1 +#define SPI_MODE2 SPI_POL1_PHA0 +#define SPI_MODE3 SPI_POL1_PHA1 #define MSBFIRST 1 #define LSBFIRST 0