Skip to content

Commit

Permalink
whitespace consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
sjkelly committed Jan 10, 2017
1 parent c52f4d8 commit 948f3db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SerialPorts.jl
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ end

function Base.readavailable(ser::SerialPort)
read(ser, nb_available(ser))
end
end

function setDTR(ser::SerialPort, val)
ser.python_ptr[:setDTR](val)
Expand All @@ -113,7 +113,7 @@ List available serialports on the system.
function list_serialports()
@static if is_unix()
ports = readdir("/dev/")
f = is_apple() ? _valid_darwin_port : _valid_linux_port
f = is_apple() ? _valid_darwin_port : _valid_linux_port
filter!(f, ports)
return [string("/dev/", port) for port in ports]
end
Expand Down

0 comments on commit 948f3db

Please sign in to comment.