Skip to content

Commit 96436ab

Browse files
committed
remove useless comment
1 parent 0dab7b9 commit 96436ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/BarometricPressureWebServer/BarometricPressureWebServer.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ unsigned int readRegister(byte registerName, int numBytes) {
228228
// take the chip select low to select the device:
229229
digitalWrite(chipSelectPin, LOW);
230230
// send the device the register you want to read:
231-
/*int command =*/ SPI.transfer(registerName);
231+
SPI.transfer(registerName);
232232
// send a value of 0 to read the first byte returned:
233233
inByte = SPI.transfer(0x00);
234234

0 commit comments

Comments
 (0)