Another shadowing, altough again no problem
This commit is contained in:
parent
4a2ef6d97f
commit
3d89bc83e5
@ -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
|
if (temp->pField & (1 << 3)) { //day of year variation
|
||||||
uint16_t tempDay = (temp->month << 8) + temp->day;
|
uint16_t tempDay = (temp->month << 8) + temp->day;
|
||||||
ReturnValue_t result = convertDaysOfYear(tempDay, to->year,
|
result = convertDaysOfYear(tempDay, to->year,
|
||||||
&(temp->month), &(temp->day));
|
&(temp->month), &(temp->day));
|
||||||
if (result != RETURN_OK) {
|
if (result != RETURN_OK) {
|
||||||
return result;
|
return result;
|
||||||
|
Loading…
Reference in New Issue
Block a user