Baud rate when supplied on the command line was not properly being converted to an integer.
parent
198d6e00ff
commit
53dbd03b35
|
@ -100,7 +100,7 @@ module ELM327HWBridgeRelay
|
|||
'URIPATH' => "/"
|
||||
}))
|
||||
self.serial_port = @opts[:serial]
|
||||
self.serial_baud = @opts[:baud]
|
||||
self.serial_baud = @opts[:baud].to_i
|
||||
self.serial_bits = 8
|
||||
self.serial_stop_bits = 1
|
||||
@operational_status = 0
|
||||
|
|
Loading…
Reference in New Issue