Skip to content

Commit 51c931d

Browse files
Merge pull request #21 from TheCedarPrince/master
Fix to rxbuf reader
2 parents 81a1347 + db2ff70 commit 51c931d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pi.jl

+1-1
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)