Skip to content

Commit

Permalink
lestarch: fixing platform print descriptor (#1717)
Browse files Browse the repository at this point in the history
* lestarch: fixing platform print descriptor

* lestarch: missing spaces in assert messages
  • Loading branch information
LeStarch authored Oct 12, 2022
1 parent 0316a82 commit bd5bd7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Fw/Types/Assert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion cmake/platform/types/PlatformTypes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bd5bd7c

Please sign in to comment.