diff options
Diffstat (limited to 'examples/src/lib.rs')
| -rw-r--r-- | examples/src/lib.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/examples/src/lib.rs b/examples/src/lib.rs index 4bb334da5..66b93450a 100644 --- a/examples/src/lib.rs +++ b/examples/src/lib.rs | |||
| @@ -16,12 +16,6 @@ pub unsafe fn init_uart2_pins(_p: &hal::pac::Peripherals) { | |||
| 16 | pins::configure_uart2_pins_port2(); | 16 | pins::configure_uart2_pins_port2(); |
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | /// Initialize clocks for the LED GPIO/PORT used by the blink example. | ||
| 20 | pub unsafe fn init_led_gpio_clocks(_p: &hal::pac::Peripherals) { | ||
| 21 | _ = clocks::enable_and_reset::<hal::peripherals::PORT3>(&clocks::periph_helpers::NoConfig); | ||
| 22 | _ = clocks::enable_and_reset::<hal::peripherals::GPIO3>(&clocks::periph_helpers::NoConfig); | ||
| 23 | } | ||
| 24 | |||
| 25 | /// Initialize clocks and pin muxing for ADC. | 19 | /// Initialize clocks and pin muxing for ADC. |
| 26 | pub unsafe fn init_adc_pins(_p: &hal::pac::Peripherals) { | 20 | pub unsafe fn init_adc_pins(_p: &hal::pac::Peripherals) { |
| 27 | // NOTE: Lpuart has been updated to properly enable + reset its own clocks. | 21 | // NOTE: Lpuart has been updated to properly enable + reset its own clocks. |
