From 5dd0e1bf98d662dc0fa98a40b607e8b7340689ee Mon Sep 17 00:00:00 2001 From: graham sanderson Date: Wed, 11 Sep 2024 17:37:29 -0500 Subject: [PATCH] typo --- src/rp2_common/hardware_clocks/clocks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rp2_common/hardware_clocks/clocks.c b/src/rp2_common/hardware_clocks/clocks.c index 56e136128..b3f871abe 100644 --- a/src/rp2_common/hardware_clocks/clocks.c +++ b/src/rp2_common/hardware_clocks/clocks.c @@ -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);