periph: set led pin to 0

This commit is contained in:
decentclock
2022-10-13 12:50:46 -04:00
parent 9bafe5f0eb
commit 7de8a6192f
3 changed files with 5 additions and 5 deletions

View File

@@ -7,7 +7,7 @@ use std::time::Duration;
pub fn set_ota_led() {
let peripherals = Peripherals::take().unwrap();
let led = peripherals.pins.gpio4.into_output().unwrap();
let led = peripherals.pins.gpio0.into_output().unwrap();
let channel = peripherals.rmt.channel0;
let config = TransmitConfig::new().clock_divider(1);
let mut tx = Transmit::new(led, channel, &config).unwrap();