Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Syncleus
apex-aprs
Commits
93589cc4
Commit
93589cc4
authored
Sep 06, 2021
by
Jeffrey Phillips Freeman
💥
Browse files
Removed call to map on strings breaking the IGate.
parent
57121ba9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lib/apex/igate_tcp.rb
lib/apex/igate_tcp.rb
+2
-2
No files found.
lib/apex/igate_tcp.rb
View file @
93589cc4
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment