Commit 9a5b6e8b authored by Jeffrey Phillips Freeman's avatar Jeffrey Phillips Freeman 💥
Browse files

Fixing error when reading values.

parent 64957c6f
......@@ -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
......
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