Remove unused uart typedef
Uniformize function format