diff --git a/src/pi.jl b/src/pi.jl index bcac243..f080cfd 100644 --- a/src/pi.jl +++ b/src/pi.jl @@ -351,7 +351,7 @@ end """Returns count bytes from the command socket.""" function rxbuf(self::Pi, count) - ext = readbytes(self.sl.s, count, all) + ext = Base.read(self.sl.s, count) return ext end