Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
cibomahto committed Jan 2, 2025
1 parent a79371f commit d87b667
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
18 changes: 9 additions & 9 deletions src/machine/machine_rp2_2040.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,15 @@ const (

// System clock configuration
const (
pllSysFreq uint32 = 125*MHz
pllSysVcoFreq = 1500*MHz
pllSysPostDiv1 = 6
pllSysPostDiv2 = 2

pllUSBFreq uint32 = 48*MHz
pllUSBVcoFreq = 480*MHz
pllUSBPostDiv1 = 5
pllUSBPostDiv2 = 2
pllSysFreq uint32 = 125 * MHz
pllSysVcoFreq = 1500 * MHz
pllSysPostDiv1 = 6
pllSysPostDiv2 = 2

pllUSBFreq uint32 = 48 * MHz
pllUSBVcoFreq = 480 * MHz
pllUSBPostDiv1 = 5
pllUSBPostDiv2 = 2
)

// Configure configures the gpio pin as per mode.
Expand Down
18 changes: 9 additions & 9 deletions src/machine/machine_rp2_2350.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,15 +123,15 @@ const (
// System clock configuration
// Note that VcoFreq, PostDiv1, and PostDiv2 must be manually calculated to achive desired output frequency.
const (
pllSysFreq uint32 = 150*MHz
pllSysVcoFreq = 1500*MHz
pllSysPostDiv1 = 5
pllSysPostDiv2 = 2

pllUSBFreq uint32 = 48*MHz
pllUSBVcoFreq = 480*MHz
pllUSBPostDiv1 = 5
pllUSBPostDiv2 = 2
pllSysFreq uint32 = 150 * MHz
pllSysVcoFreq = 1500 * MHz
pllSysPostDiv1 = 5
pllSysPostDiv2 = 2

pllUSBFreq uint32 = 48 * MHz
pllUSBVcoFreq = 480 * MHz
pllUSBPostDiv1 = 5
pllUSBPostDiv2 = 2
)

// Configure configures the gpio pin as per mode.
Expand Down

0 comments on commit d87b667

Please sign in to comment.