X-Git-Url: https://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/9d18e10afb2439a6a9ba6978a799259746a837b7..3a4d8a99f885909119362e3b9b9b587315d74ad7:/project/commands/cmd_sysinfo.c diff --git a/project/commands/cmd_sysinfo.c b/project/commands/cmd_sysinfo.c index 36b66e9..96a59db 100644 --- a/project/commands/cmd_sysinfo.c +++ b/project/commands/cmd_sysinfo.c @@ -45,8 +45,8 @@ #include "project/commands.h" // Generic helper functions #ifdef CFG_CHIBI - #include "drivers/chibi/chb.h" - #include "drivers/chibi/chb_drvr.h" + #include "drivers/rf/chibi/chb.h" + #include "drivers/rf/chibi/chb_drvr.h" #endif #ifdef CFG_PRINTF_UART @@ -58,7 +58,7 @@ #endif #ifdef CFG_TFTLCD - #include "drivers/lcd/tft/lcd.h" + #include "drivers/displays/tft/lcd.h" #endif #ifdef CFG_SDCARD @@ -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)