diff options
Diffstat (limited to 'bsps/shared/grlib/uart/apbuart_polled.c')
-rw-r--r-- | bsps/shared/grlib/uart/apbuart_polled.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsps/shared/grlib/uart/apbuart_polled.c b/bsps/shared/grlib/uart/apbuart_polled.c index 8a596808b2..bf23e3a892 100644 --- a/bsps/shared/grlib/uart/apbuart_polled.c +++ b/bsps/shared/grlib/uart/apbuart_polled.c @@ -29,7 +29,7 @@ void apbuart_outbyte_wait(const struct apbuart_regs *regs) void apbuart_outbyte_polled(struct apbuart_regs *regs, char ch) { apbuart_outbyte_wait(regs); - regs->data = (unsigned int) ch; + regs->data = (uint8_t) ch; } int apbuart_inbyte_nonblocking(struct apbuart_regs *regs) |