From 009ffdea1eebc7ac562c6b1a4be97c941b18994c Mon Sep 17 00:00:00 2001 From: kongr45gpen <electrovesta@gmail.com> Date: Tue, 23 Aug 2022 04:56:13 +0300 Subject: [PATCH] Fix configs --- inc/ECSS_Definitions.hpp | 2 +- inc/Time/TimeStamp.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/ECSS_Definitions.hpp b/inc/ECSS_Definitions.hpp index 38b44d00..e9b97e01 100644 --- a/inc/ECSS_Definitions.hpp +++ b/inc/ECSS_Definitions.hpp @@ -157,7 +157,7 @@ inline const uint16_t LoggerMaxMessageSize = 512; /** * @brief Size of the map holding references to each Parameter object for the ST[20] parameter service */ -inline const uint8_t ECSSParameterCount = 250; +inline const uint8_t ECSSParameterCount = 500; /** * @brief Defines whether the optional CRC field is included diff --git a/inc/Time/TimeStamp.hpp b/inc/Time/TimeStamp.hpp index 499fb3c6..52fade25 100644 --- a/inc/Time/TimeStamp.hpp +++ b/inc/Time/TimeStamp.hpp @@ -45,7 +45,7 @@ private: * The maximum value that can fit in @ref taiCounter, or the maximum number of seconds since epoch that can be * represented in this base class */ - static constexpr uint64_t maxSecondCounterValue = (1U << (8U * secondsBytes)) - 1; + static constexpr uint64_t maxSecondCounterValue = (uint64_t{1U} << (8U * secondsBytes)) - 1; /** * Returns whether the amount of `seconds` can be represented by this TimeStamp. -- GitLab