Commit 93589cc4 authored by Jeffrey Phillips Freeman's avatar Jeffrey Phillips Freeman 💥
Browse files

Removed call to map on strings breaking the IGate.

parent 57121ba9
......@@ -84,7 +84,7 @@ module Apex
@server = server
@port = port
@aprsis_sock = TCPSocket.open(@server, @port)
@aprsis_sock.puts( (@full_auth + '\r\n').map{ |c| c.ord } )
@aprsis_sock.puts( @full_auth + '\r\n' )
end
end
end
......@@ -155,7 +155,7 @@ module Apex
def write(frame, *args, **kwargs)
@lock.synchronize do
encoded_frame = IGateTcp::encode_frame(frame)
@aprsis_sock.puts( encoded_frame.map { |c| c.ord } )
@aprsis_sock.puts( encoded_frame )
end
end
end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment