From b38486f9b7b881ea0c9ae8ea65407a31158ca5c0 Mon Sep 17 00:00:00 2001 From: memdmp Date: Sun, 18 May 2025 15:49:55 +0200 Subject: feat: move to gpio6, i fucked gpio5 --- src/bin/server.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/bin/server.rs') diff --git a/src/bin/server.rs b/src/bin/server.rs index b30fa18..b2f72f8 100644 --- a/src/bin/server.rs +++ b/src/bin/server.rs @@ -125,8 +125,8 @@ fn main() -> ! { } }; - // Set GPIO5 as an input - let mut button = Input::new(peripherals.GPIO5, Pull::Down); + // Set GPIO6 as an input + let mut button = Input::new(peripherals.GPIO6, Pull::Down); info!("Waiting 500ms pre-init"); delay.delay_millis(500); @@ -180,6 +180,7 @@ fn main() -> ! { }); controller.set_configuration(&client_config); net = Some(ap_comp); + break; }; } } -- cgit v1.2.3