Skip to content

Commit 4c00b60

Browse files
committed
Remove redundant whitespace on Wire.cpp
1 parent 694e5e6 commit 4c00b60

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

avr/libraries/Wire/src/Wire.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ size_t TwoWire::write(uint8_t data)
202202
// put byte in tx buffer
203203
txBuffer[txBufferIndex] = data;
204204
++txBufferIndex;
205-
// update amount in buffer
205+
// update amount in buffer
206206
txBufferLength = txBufferIndex;
207207
}else{
208208
// in slave send mode
@@ -244,7 +244,7 @@ int TwoWire::available(void)
244244
int TwoWire::read(void)
245245
{
246246
int value = -1;
247-
247+
248248
// get each successive byte on each call
249249
if(rxBufferIndex < rxBufferLength){
250250
value = rxBuffer[rxBufferIndex];
@@ -260,7 +260,7 @@ int TwoWire::read(void)
260260
int TwoWire::peek(void)
261261
{
262262
int value = -1;
263-
263+
264264
if(rxBufferIndex < rxBufferLength){
265265
value = rxBuffer[rxBufferIndex];
266266
}
@@ -289,7 +289,7 @@ void TwoWire::onReceiveService(uint8_t* inBytes, int numBytes)
289289
// copy twi rx buffer into local read buffer
290290
// this enables new reads to happen in parallel
291291
for(uint8_t i = 0; i < numBytes; ++i){
292-
rxBuffer[i] = inBytes[i];
292+
rxBuffer[i] = inBytes[i];
293293
}
294294
// set rx iterator vars
295295
rxBufferIndex = 0;

0 commit comments

Comments
 (0)