made define more generic

This commit is contained in:
Robin Müller 2020-09-30 20:22:57 +02:00
parent e164282253
commit 320d7f3976

View File

@ -158,7 +158,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
#ifdef NO_C99_IO
uint16_t year;
uint16_t month;
uint16_t day;