diff --git a/.cargo/config.toml b/.cargo/config.toml index a492de7..1e5fb37 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -28,11 +28,11 @@ rustflags = [ # This runner will make a UF2 file and then copy it to a mounted RP2040 in USB # Bootloader mode: -# runner = "elf2uf2-rs -d" +runner = "elf2uf2-rs -d" # This runner will find a supported SWD debug probe and flash your RP2040 over # SWD: -runner = "probe-rs run --chip RP2040 --protocol swd" +# runner = "probe-rs run --chip RP2040 --protocol swd" [env] DEFMT_RTT_BUFFER_SIZE = { value = "4096", force = true } diff --git a/src/main.rs b/src/main.rs index af4c5d8..c9a292b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -85,7 +85,7 @@ fn main() -> ! { let pwm0 = &mut pwm_slices.pwm0; pwm0.set_ph_correct(); pwm0.set_div_frac(0); - pwm0.enable(); + pwm0.disable(); pwm0.channel_a.output_to(pins.gpio16); @@ -141,7 +141,7 @@ fn main() -> ! { match broadcast_on { true => gfx_buf.draw_string(20, 48, "ON THE AIR"), - false => (), + false => gfx_buf.draw_string(20, 48, "Offline"), } gfx_buf.redraw();