Due to the stdio getting called after periph_init the uart may send before initialized. This adds a simple check so the uart does not get into a locked-up state.