mbedmicro/mbed — pull request #778 by sg- (2014-12-09 23:52:16+00:00)
Title: With the old logic if Serial::writeable() was called before and/or used ...

...to block calls to Serial::putc() it would never write due to EVENT_TXDRDY trailing a write to TXD. Add a dummy write to TXD before pins are connected to the peripheral. This primes the EVENT_TXDRDY to lead future writes rather than trail. Since STOPTX isn't used this seems safe.