X-Git-Url: https://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/9d18e10afb2439a6a9ba6978a799259746a837b7..43b7092bd42d639a527b32dae4af87e37528ef57:/project/commands/cmd_sysinfo.c diff --git a/project/commands/cmd_sysinfo.c b/project/commands/cmd_sysinfo.c index 36b66e9..ead3aa8 100644 --- a/project/commands/cmd_sysinfo.c +++ b/project/commands/cmd_sysinfo.c @@ -91,7 +91,7 @@ void cmd_sysinfo(uint8_t argc, char **argv) #ifdef CFG_PRINTF_UART uart_pcb_t *pcb = uartGetPCB(); - printf("%-25s : %d %s", "UART Baud Rate", pcb->baudrate, CFG_PRINTF_NEWLINE); + printf("%-25s : %u %s", "UART Baud Rate", (unsigned int)(pcb->baudrate), CFG_PRINTF_NEWLINE); #endif // TFT LCD Settings (if CFG_TFTLCD enabled)