From bd5bd7c1514aa7f0b24bca53997108eb4483a31a Mon Sep 17 00:00:00 2001 From: M Starch Date: Tue, 11 Oct 2022 17:16:38 -0700 Subject: [PATCH] lestarch: fixing platform print descriptor (#1717) * lestarch: fixing platform print descriptor * lestarch: missing spaces in assert messages --- Fw/Types/Assert.cpp | 4 ++-- cmake/platform/types/PlatformTypes.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Fw/Types/Assert.cpp b/Fw/Types/Assert.cpp index 046ccd8782..173beff3fc 100644 --- a/Fw/Types/Assert.cpp +++ b/Fw/Types/Assert.cpp @@ -10,9 +10,9 @@ #else #if FW_ASSERT_LEVEL == FW_FILEID_ASSERT -#define fileIdFs "Assert file ID 0x%08" PRIx32 ": Line: %" PRI_PlatformUIntType +#define fileIdFs "Assert file ID 0x%08" PRIx32 ": Line: %" PRI_PlatformUIntType " " #else -#define fileIdFs "Assert file \"%s\": Line: %" PRI_PlatformUIntType +#define fileIdFs "Assert file \"%s\": Line: %" PRI_PlatformUIntType " " #endif namespace Fw { diff --git a/cmake/platform/types/PlatformTypes.hpp b/cmake/platform/types/PlatformTypes.hpp index 4c4b3a5bd9..cc120cfdf7 100644 --- a/cmake/platform/types/PlatformTypes.hpp +++ b/cmake/platform/types/PlatformTypes.hpp @@ -52,7 +52,7 @@ typedef int PlatformIntType; #define PRI_PlatformIntType "d" typedef unsigned int PlatformUIntType; -#define PRI_PlatformUIntType "ud" +#define PRI_PlatformUIntType "u" typedef PlatformIntType PlatformIndexType; #define PRI_PlatformIndexType PRI_PlatformIntType