TmPacketMinimal casts const away from data in its constructor #567

Closed
opened 2022-02-23 18:01:12 +01:00 by gaisser · 2 comments
Owner
TmPacketMinimal::TmPacketMinimal(const uint8_t* set_data) : SpacePacketBase(set_data) {
  this->tm_data = (TmPacketMinimalPointer*)set_data;
}

Either introduce a constructor with non-const data or rewrite everything.

``` c++ TmPacketMinimal::TmPacketMinimal(const uint8_t* set_data) : SpacePacketBase(set_data) { this->tm_data = (TmPacketMinimalPointer*)set_data; } ``` Either introduce a constructor with non-const data or rewrite everything.
Owner

I think this is not an issue with the new packet stack anymore.

I think this is not an issue with the new packet stack anymore.
Author
Owner

Fixed by #655

Fixed by #655
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: fsfw/fsfw#567
No description provided.