corrected clk_gpout3 to gpio pin 25 as per the rp2040 datasheet (#250)

This commit is contained in:
Tom Wasiluk
2021-03-24 15:35:02 +01:00
committed by GitHub
parent 0c941d9767
commit c1f164b9fd
2 changed files with 2 additions and 2 deletions

View File

@ -322,7 +322,7 @@ void clock_gpio_init(uint gpio, uint src, uint div) {
if (gpio == 21) gpclk = clk_gpout0;
else if (gpio == 23) gpclk = clk_gpout1;
else if (gpio == 24) gpclk = clk_gpout2;
else if (gpio == 26) gpclk = clk_gpout3;
else if (gpio == 25) gpclk = clk_gpout3;
else {
invalid_params_if(CLOCKS, true);
}