File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -70,14 +70,12 @@ typedef union {
7070} AEAT8800Q24_Status_t;
7171
7272
73- #if defined(ESP32)
74- #define AEAT8800Q24_BITORDER MSBFIRST
75- #else
76- #define AEAT8800Q24_BITORDER BitOrder::MSBFIRST
73+ #ifndef MSBFIRST
74+ #define MSBFIRST BitOrder::MSBFIRST
7775#endif
7876
79- static SPISettings AEAT8800Q24SPISettings (1000000 , AEAT8800Q24_BITORDER , SPI_MODE3); // @suppress("Invalid arguments")
80- static SPISettings AEAT8800Q24SSISettings (4000000 , AEAT8800Q24_BITORDER , SPI_MODE2); // @suppress("Invalid arguments")
77+ static SPISettings AEAT8800Q24SPISettings (1000000 , MSBFIRST , SPI_MODE3); // @suppress("Invalid arguments")
78+ static SPISettings AEAT8800Q24SSISettings (4000000 , MSBFIRST , SPI_MODE2); // @suppress("Invalid arguments")
8179
8280
8381class AEAT8800Q24 {
You can’t perform that action at this time.
0 commit comments