Skip to content
Snippets Groups Projects
Commit 8a72865e authored by graham sanderson's avatar graham sanderson
Browse files

typo

parent 1c4e72ec
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment