Skip to content

Wrong comments in dreq.h for RP2350 #2418

Open
@newbrain

Description

@newbrain

A very minor code commenting issue.

Comments at lines 124, 125, 138, and 139 of dreq.h contain wrong information.

DREQ_PWM_WRAP10 = 42, ///< Select PWM Counter 0's Wrap Value as DREQ
DREQ_PWM_WRAP11 = 43, ///< Select PWM Counter 1's Wrap Value as DREQ

Should read:
124: DREQ_PWM_WRAP10 = 42, ///< Select PWM Counter 10's Wrap Value as DREQ
125: DREQ_PWM_WRAP11 = 43, ///< Select PWM Counter 11's Wrap Value as DREQ

DREQ_DMA_TIMER1 = 60, ///< Select DMA_TIMER0 as DREQ
DREQ_DMA_TIMER2 = 61, ///< Select DMA_TIMER1 as DREQ

Should read:
138: DREQ_DMA_TIMER1 = 60, ///< Select DMA_TIMER1 as DREQ
139: DREQ_DMA_TIMER2 = 61, ///< Select DMA_TIMER2 as DREQ

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions