Skip to content

Map ADC Buffer Indecies To Names#494

Merged
dchansen06 merged 2 commits into
mainfrom
AdcBufferEnum
May 26, 2026
Merged

Map ADC Buffer Indecies To Names#494
dchansen06 merged 2 commits into
mainfrom
AdcBufferEnum

Conversation

@dchansen06
Copy link
Copy Markdown
Contributor

ADC Buffer Enum

Problem and Scope

Seeing a wall of array indecies to other values makes debugging the raw values captured on ADC hard

Description

Add an enum to map the indecies to their name so that the raw values can be accessed much more trivially

Gotchas and Limitations

Update enum as you would update the numbers

Testing

  • HOOTL testing
  • HITL testing
  • Human tested

Testing Details

Double checked each index is the same

Larger Impact

Debugging and printing raw values off of the ADC is easier

Additional Context and Ticket

Thought of during testing

@dchansen06 dchansen06 self-assigned this May 24, 2026
@dchansen06 dchansen06 added Documentation Improvements or additions to documentation Enhancement New feature or request Small Fry Something that is small, could include bug fixes or smaller changes Sensors Something involved with or related to sensors 3 NORMAL Important but not really a priority Peripheral Related to or involving a peripheral including abstractions Boards Related to or involving any physical boards labels May 24, 2026
@dchansen06 dchansen06 added this to the GR26 milestone May 24, 2026
@dchansen06 dchansen06 marked this pull request as ready for review May 24, 2026 16:49
@dchansen06 dchansen06 requested a review from kzwicker as a code owner May 24, 2026 16:50
Signed-off-by: Daniel Hansen <dchansen06@gmail.com>
…ad of raw numbers, also realign the line in `Send_VCP_APPS`

Signed-off-by: Daniel Hansen <dchansen06@gmail.com>
@dchansen06 dchansen06 merged commit 92c2c28 into main May 26, 2026
32 checks passed
@dchansen06 dchansen06 deleted the AdcBufferEnum branch May 26, 2026 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3 NORMAL Important but not really a priority Boards Related to or involving any physical boards Documentation Improvements or additions to documentation Enhancement New feature or request Peripheral Related to or involving a peripheral including abstractions Sensors Something involved with or related to sensors Small Fry Something that is small, could include bug fixes or smaller changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants