Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Syncleus
apex-aprs
Commits
9a5b6e8b
Commit
9a5b6e8b
authored
Oct 01, 2016
by
Jeffrey Phillips Freeman
💥
Browse files
Fixing error when reading values.
parent
64957c6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/kiss/kiss_serial.rb
View file @
9a5b6e8b
...
...
@@ -31,7 +31,7 @@ module Kiss
def
read_interface
read_data
=
@serial
.
read
(
@read_bytes
)
if
read_data
return
read_data
.
map
{
|
c
|
c
.
ord
}
return
read_data
.
chars
.
map
{
|
c
|
c
.
ord
}
else
return
nil
end
...
...
Write
Preview
Supports
Markdown
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