From a502146d73ff47337dad3015fa2c819a5ba5e43d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Thu, 24 Nov 2022 10:00:40 +0100 Subject: [PATCH] board_hw_rev_ver: fix hex printf --- .../src/px4/stm/stm32_common/board_hw_info/board_hw_rev_ver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/nuttx/src/px4/stm/stm32_common/board_hw_info/board_hw_rev_ver.c b/platforms/nuttx/src/px4/stm/stm32_common/board_hw_info/board_hw_rev_ver.c index 6f2df9caeb..700d1dacb4 100644 --- a/platforms/nuttx/src/px4/stm/stm32_common/board_hw_info/board_hw_rev_ver.c +++ b/platforms/nuttx/src/px4/stm/stm32_common/board_hw_info/board_hw_rev_ver.c @@ -516,7 +516,7 @@ int board_set_eeprom_hw_info(const char *path, mtd_mft_t *mtd_mft_unk) mtd_mft_v0_t *mtd_mft = (mtd_mft_v0_t *)mtd_mft_unk; if (mtd_mft->hw_extended_id < HW_EEPROM_ID_MIN) { - printf("hardware version for EEPROM must be greater than %x\n", HW_EEPROM_ID_MIN); + printf("hardware version for EEPROM must be greater than %d\n", HW_EEPROM_ID_MIN); return -EINVAL; }