From 948f3db30020d7b3b6cd71d232a2c071e6b2c6c6 Mon Sep 17 00:00:00 2001 From: Steve Kelly Date: Tue, 10 Jan 2017 15:42:09 -0500 Subject: [PATCH] whitespace consistency --- src/SerialPorts.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SerialPorts.jl b/src/SerialPorts.jl index e9ea10f..a416e49 100644 --- a/src/SerialPorts.jl +++ b/src/SerialPorts.jl @@ -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) @@ -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