Skip to content

Commit 653ee30

Browse files
authored
Merge pull request arduino#38 from dbrgn/fix-docs-serial-read
Fix docs on Serial.readBytes return value
2 parents fbfc3e9 + f101759 commit 653ee30

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Language/Functions/Communication/Serial/readBytes.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ title: Serial.readBytes()
3636

3737
[float]
3838
=== Returns
39-
`byte`
39+
The number of bytes placed in the buffer (`size_t`)
4040

4141
--
4242
// OVERVIEW SECTION ENDS

Language/Functions/Communication/Stream/streamReadBytes.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ This function is part of the Stream class, and is called by any class that inher
3838

3939
[float]
4040
=== Returns
41-
The number of bytes placed in the buffer.
41+
The number of bytes placed in the buffer (`size_t`)
4242

4343
--
4444
// OVERVIEW SECTION ENDS

0 commit comments

Comments
 (0)