Changed flags set on serial port