Browse Source

drivers: clock_control: rpi_pico: fix frequency count typo

fixed what looked like a copy-paste error

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
pull/91278/head
Benjamin Cabé 1 month ago committed by Benjamin Cabé
parent
commit
4524bdf9f5
  1. 2
      drivers/clock_control/clock_control_rpi_pico.c

2
drivers/clock_control/clock_control_rpi_pico.c

@ -266,7 +266,7 @@ uint64_t rpi_pico_frequency_count(const struct device *dev, clock_control_subsys @@ -266,7 +266,7 @@ uint64_t rpi_pico_frequency_count(const struct device *dev, clock_control_subsys
fc0_id = CLOCKS_FC0_SRC_VALUE_CLKSRC_GPIN0;
break;
case rpi_pico_clkid_gpin1:
fc0_id = CLOCKS_FC0_SRC_VALUE_CLKSRC_GPIN0;
fc0_id = CLOCKS_FC0_SRC_VALUE_CLKSRC_GPIN1;
break;
default:
return -1;

Loading…
Cancel
Save