Skip to content

Commit 77fc4b2

Browse files
committed
Standardize on tabs within code blocks
Signed-off-by: Tormod Volden <[email protected]>
1 parent 5b3db0e commit 77fc4b2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Keyboard.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -312,19 +312,19 @@ void Keyboard_::releaseAll(void)
312312

313313
size_t Keyboard_::write(uint8_t c)
314314
{
315-
uint8_t p = press(c); // Keydown
316-
release(c); // Keyup
317-
return p; // just return the result of press() since release() almost always returns 1
315+
uint8_t p = press(c); // Keydown
316+
release(c); // Keyup
317+
return p; // just return the result of press() since release() almost always returns 1
318318
}
319319

320320
size_t Keyboard_::write(const uint8_t *buffer, size_t size) {
321321
size_t n = 0;
322322
while (size--) {
323323
if (*buffer != '\r') {
324324
if (write(*buffer)) {
325-
n++;
325+
n++;
326326
} else {
327-
break;
327+
break;
328328
}
329329
}
330330
buffer++;

0 commit comments

Comments
 (0)