Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pico-sdk
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Microcontroller
pico-sdk
Commits
8a72865e
Commit
8a72865e
authored
10 months ago
by
graham sanderson
Browse files
Options
Downloads
Patches
Plain Diff
typo
parent
1c4e72ec
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/rp2_common/hardware_clocks/clocks.c
+1
-1
1 addition, 1 deletion
src/rp2_common/hardware_clocks/clocks.c
with
1 addition
and
1 deletion
src/rp2_common/hardware_clocks/clocks.c
+
1
−
1
View file @
8a72865e
...
...
@@ -245,7 +245,7 @@ void clock_gpio_init_int_frac16(uint gpio, uint src, uint32_t div_int, uint16_t
invalid_params_if
(
HARDWARE_CLOCKS
,
true
);
}
#if !PICO_RP2040 // assert currently broken on RP2040, but we know that hardware has 16
bit integer part
#if !PICO_RP2040 // assert currently broken on RP2040, but we know that hardware has 16
-
bit integer part
static_assert
(
CLOCKS_CLK_GPOUT0_DIV_INT_MSB
-
CLOCKS_CLK_GPOUT0_DIV_INT_LSB
==
15
,
""
);
#endif
invalid_params_if
(
HARDWARE_CLOCKS
,
div_int
>>
16
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment