From e5dac30e98f694ad92ea82cc8c15ff7bfc7bd8b2 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 15 Sep 2020 17:37:43 +0200 Subject: [PATCH] new include used now --- timemanager/CCSDSTime.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/timemanager/CCSDSTime.cpp b/timemanager/CCSDSTime.cpp index f99f8fbb..80a4e27c 100644 --- a/timemanager/CCSDSTime.cpp +++ b/timemanager/CCSDSTime.cpp @@ -1,4 +1,5 @@ #include "../timemanager/CCSDSTime.h" +#include #include #include #include @@ -158,7 +159,7 @@ ReturnValue_t CCSDSTime::convertFromASCII(Clock::TimeOfDay_t* to, const uint8_t* } // Newlib nano can't parse uint8, see SCNu8 documentation and https://sourceware.org/newlib/README // Suggestion: use uint16 all the time. This should work on all systems. -#ifdef NEWLIB_NANO_NO_C99_IO +#if FSFW_NEWLIB_NANO_NO_C99_IO == 1 uint16_t year; uint16_t month; uint16_t day;