Skip to content

Commit

Permalink
Fix to rxbuf reader
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCedarPrince committed Jan 15, 2025
1 parent 81a1347 commit db2ff70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pi.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit db2ff70

Please sign in to comment.