Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark tlmWrite argument const for user types #730

Merged
merged 2 commits into from
Jun 22, 2021

Conversation

Joshua-Anderson
Copy link
Contributor

Originating Project/Creator
Affected Component
Affected Architectures(s)
Related Issue(s)
Has Unit Tests (y/n)
Builds Without Errors (y/n)
Unit Tests Pass (y/n)
Documentation Included (y/n)

Change Description

Mark tlmWrite argument const for user types.

Note, tlmStrings cannot be marked const - yet. TlmWrite modifies the tlmString in an attempt to truncate the string to the user provided string max length. However, the truncation operation is nonfunctional - effectively no-oping. We need to revisit this in more depth in the future.

@Joshua-Anderson Joshua-Anderson requested a review from LeStarch June 17, 2021 18:42
@LeStarch LeStarch changed the base branch from release/v3.0.0 to devel June 19, 2021 21:01
Copy link
Collaborator

@LeStarch LeStarch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, pulling into devel as it collides with another devel PR and needs to be de-conflicted.

@LeStarch LeStarch closed this Jun 21, 2021
@LeStarch LeStarch reopened this Jun 21, 2021
@LeStarch
Copy link
Collaborator

@Joshua-Anderson looks like another PR was editing these files. Can you resolve?

@Joshua-Anderson
Copy link
Contributor Author

@LeStarch conflict resolved

@LeStarch LeStarch merged commit e08ebee into nasa:devel Jun 22, 2021
@Joshua-Anderson Joshua-Anderson deleted the const-tlm-usr-types branch June 22, 2021 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants