|
@@ -110,7 +110,7 @@ void spiInit(uint8_t spiRate) {
|
110
|
110
|
* @details
|
111
|
111
|
*/
|
112
|
112
|
uint8_t spiRec() {
|
113
|
|
- uint8_t returnByte = SPI.transfer(ff);
|
|
113
|
+ uint8_t returnByte = SPI.transfer(0xFF);
|
114
|
114
|
return returnByte;
|
115
|
115
|
}
|
116
|
116
|
|
|
@@ -154,7 +154,7 @@ void spiSendBlock(uint8_t token, const uint8_t* buf) {
|
154
|
154
|
#if ENABLED(SPI_EEPROM)
|
155
|
155
|
|
156
|
156
|
// Read single byte from specified SPI channel
|
157
|
|
-uint8_t spiRec(uint32_t chan) { return SPI.transfer(ff); }
|
|
157
|
+uint8_t spiRec(uint32_t chan) { return SPI.transfer(0xFF); }
|
158
|
158
|
|
159
|
159
|
// Write single byte to specified SPI channel
|
160
|
160
|
void spiSend(uint32_t chan, byte b) { SPI.send(b); }
|