mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2024-12-24 05:01:31 +11:00
44019781e2
- Clippy warns about empty loops, https://github.com/rust-lang/rust-clippy/issues/6161 - wfi allows to CPU to save some power WFI was avoided in examples for fear of ill interactions with debuggers. However the rp2040 debug port does continue to work, as long as the relevant clocks are not disabled in SLEEP_EN0/SLEEP_EN1. (By default, all clocks stay enabled in sleep mode.) This patch replaces several different workarounds with just calling wfi. |
||
---|---|---|
.. | ||
pico_blinky.rs | ||
pico_countdown_blinky.rs | ||
pico_gpio_in_out.rs | ||
pico_hd44780_display.rs | ||
pico_i2c_oled_display_ssd1306.rs | ||
pico_i2c_pio.rs | ||
pico_pio_pwm.rs | ||
pico_pwm_blink.rs | ||
pico_pwm_servo.rs | ||
pico_rtic.rs | ||
pico_spi_sd_card.rs | ||
pico_uart_irq_buffer.rs | ||
pico_uart_irq_echo.rs | ||
pico_usb_serial.rs | ||
pico_usb_serial_interrupt.rs | ||
pico_usb_twitchy_mouse.rs | ||
pico_ws2812_led.rs | ||
pwm.pio |