Skip to content

Commit c220f96

Browse files
committed
Update comment about R/!W! bit
1 parent 6bdd285 commit c220f96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sfe_bus.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ int SfeSPI::readRegisterRegion(uint8_t addr, uint8_t reg, uint8_t *data, uint16_
346346
_spiPort->beginTransaction(_sfeSPISettings);
347347
// Signal communication start
348348
digitalWrite(_cs, LOW);
349-
// A leading zero must be added to transfer with register to indicate a "read"
349+
// A leading "1" must be added to transfer with register to indicate a "read"
350350
reg = (reg | SPI_READ);
351351
_spiPort->transfer(reg);
352352

0 commit comments

Comments
 (0)