Commit 80bbcd58 authored by Jeffrey Phillips Freeman's avatar Jeffrey Phillips Freeman 💥
Browse files

cleaning up nil put.

parent 142038a4
...@@ -30,7 +30,9 @@ module Kiss ...@@ -30,7 +30,9 @@ module Kiss
protected protected
def read_interface def read_interface
read_data = @serial.read(@read_bytes) read_data = @serial.read(@read_bytes)
p read_data if read_data != nil
p read_data
end
if read_data if read_data
return read_data.chars.map { |c| c.ord } return read_data.chars.map { |c| c.ord }
else else
......
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