Skip to content

Commit db2ff70

Browse files
Fix to rxbuf reader
1 parent 81a1347 commit db2ff70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pi.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ end
351351

352352
"""Returns count bytes from the command socket."""
353353
function rxbuf(self::Pi, count)
354-
ext = readbytes(self.sl.s, count, all)
354+
ext = Base.read(self.sl.s, count)
355355
return ext
356356
end
357357

0 commit comments

Comments
 (0)