Skip to content

Commit 4524bdf

Browse files
committed
drivers: clock_control: rpi_pico: fix frequency count typo
fixed what looked like a copy-paste error Signed-off-by: Benjamin Cabé <[email protected]>
1 parent 998ee87 commit 4524bdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clock_control/clock_control_rpi_pico.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ uint64_t rpi_pico_frequency_count(const struct device *dev, clock_control_subsys
266266
fc0_id = CLOCKS_FC0_SRC_VALUE_CLKSRC_GPIN0;
267267
break;
268268
case rpi_pico_clkid_gpin1:
269-
fc0_id = CLOCKS_FC0_SRC_VALUE_CLKSRC_GPIN0;
269+
fc0_id = CLOCKS_FC0_SRC_VALUE_CLKSRC_GPIN1;
270270
break;
271271
default:
272272
return -1;

0 commit comments

Comments
 (0)