Commit 1e1bd763 authored by Jeffrey Phillips Freeman's avatar Jeffrey Phillips Freeman 💥
Browse files

Fixed a typo in an if statement.

parent 60964014
......@@ -71,7 +71,7 @@ module Kiss
write_interface(MODE_END)
end
if @serial == nil or @serial&.closed?
if @serial == nil or @serial.closed?
raise 'Attempting to close before the class has been started.'
else
@serial.close
......
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