Seems like Stefan has added a function in his HardwareSerialclass.replace Serial.flushRX ();bywhile (Serial.available()<1){}