lib/arduino_firmata/arduino.rb in arduino_firmata-0.2.3 vs lib/arduino_firmata/arduino.rb in arduino_firmata-0.2.4

- old
+ new

@@ -167,10 +167,10 @@ return if status == Status::CLOSE @serial.read_nonblock 9600 rescue EOFError end def process_input - StringIO.new(String read).bytes.each do |input_data| + StringIO.new(String read).each_byte.each do |input_data| command = nil if @parsing_sysex if input_data == END_SYSEX @parsing_sysex = false