Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@magicrub says the pitot tube option isn't implemented yet, so lets just remove it from the list
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yup, lets remove "Pitot tube" enum for now until I get my AP_Heater library merged in which will use it. The enum is currently a placeholder but I agree that it's creating confusion right now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tridge but this is only part of a larger code change...and the enum impacts this code, not just the switch statement.....its the reason I said this is CAN specific: #24462
should that CAN change be reverted also?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Hwurzburg fair enough. Let's go ahead and merge this as-is if you think this change helps with the confusion. I'll get the AP_Heater in at some point to bring better utility to it. It's kind of a hack at the moment and it's been backburnered for over a year to upstream it. For now the enum is useful for logging purposes in it's current form.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I posted a PR that removes the unused ENUM as Tridge suggested...you guys decide