Fixed a shadowing issue with moving a declaration to inner scope #163

Merged
muellerr merged 4 commits from gaisser/fsfw:gaisser_small_bugfix_subsystem into master 2020-08-28 17:01:19 +02:00
Showing only changes of commit 3d89bc83e5 - Show all commits

View File

@ -119,7 +119,7 @@ ReturnValue_t CCSDSTime::convertFromCCS(Clock::TimeOfDay_t* to, const uint8_t* f
if (temp->pField & (1 << 3)) { //day of year variation
uint16_t tempDay = (temp->month << 8) + temp->day;
ReturnValue_t result = convertDaysOfYear(tempDay, to->year,
result = convertDaysOfYear(tempDay, to->year,
&(temp->month), &(temp->day));
if (result != RETURN_OK) {
return result;