From 60f272e4a34413eec2e851b4cffaeefab473c2b9 Mon Sep 17 00:00:00 2001 From: Logan G Date: Sun, 26 Nov 2023 02:52:09 -0700 Subject: [PATCH] Fixed variable type mismatch warnings --- User/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/User/main.c b/User/main.c index 92d4dcb..69bd363 100644 --- a/User/main.c +++ b/User/main.c @@ -50,8 +50,8 @@ int main(void) { USART_Printf_Init(115200); #endif printf("SystemClk: %ld\r\n", SystemCoreClock); - printf("DeviceID: %08x\r\n", DBGMCU_GetDEVID()); - printf("ChipID: %08x\r\n", DBGMCU_GetCHIPID()); + printf("DeviceID: %08lx\r\n", DBGMCU_GetDEVID()); + printf("ChipID: %08lx\r\n", DBGMCU_GetCHIPID()); GPIO_LED_Init();