Skip to content

Conversation

@jonathangjertsen
Copy link
Contributor

Description

Prevents this warning from the TI CCS compiler:

warning #190-D: enumerated type mixed with another type

I haven't seen this warning from other compilers, but it seems like a good idea regardless to signal that this conversion is OK and expected. Explicit casts are already being used for the opposite conversion.

This and #444 should be sufficient to compile the library without warnings with TI's compiler, with one exception which I will create an issue for because I don't know the library well enough to resolve it

Test Steps

None

Related Issue

N/A

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Prevents this warning from the TI CCS compiler:
    warning FreeRTOS#190-D: enumerated type mixed with another type

Regardless of this compiler warning it seems like a good idea to signal
that this conversion is OK and expected. This is already being done when
doing the opposite conversion.
@jonathangjertsen jonathangjertsen requested a review from a team as a code owner April 5, 2022 19:47
@AniruddhaKanhere
Copy link
Member

Thank you @jonathangjertsen for this PR, I have approved it and working on merging it after another review.

@AniruddhaKanhere AniruddhaKanhere merged commit 162200a into FreeRTOS:main Apr 5, 2022
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.

3 participants