Skip to content

Commit 0dab7b9

Browse files
committed
remove unused warning
1 parent 0d5019a commit 0dab7b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/BarometricPressureWebServer/BarometricPressureWebServer.ino

Lines changed: 1 addition & 1 deletion
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+
/*int command =*/ 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)