switched to a dedicated AP

This commit is contained in:
Andy Killorin 2024-12-07 15:24:45 -05:00
commit 9fdd219fb8
Signed by: ank
GPG key ID: 23F9463ECB67FE8C
2 changed files with 16 additions and 6 deletions

View file

@ -111,7 +111,7 @@ async fn main(spawner: Spawner) {
// Use a link-local address for communication without DHCP server
let config = Config::ipv4_static(embassy_net::StaticConfigV4 {
address: embassy_net::Ipv4Cidr::new(embassy_net::Ipv4Address::new(169, 254, 2, 1), 16),
address: embassy_net::Ipv4Cidr::new(embassy_net::Ipv4Address::new(192, 168, 0, 12), 24),
dns_servers: heapless::Vec::new(),
gateway: None,
});

View file

@ -41,7 +41,7 @@ pub async fn wiggle_manager(pwm: PWM_SLICE5, head: PIN_26, tail: PIN_27) -> ! {
c.compare_b = 6248;
pwm.set_config(&c);
Timer::after_millis(50).await;
Timer::after_millis(500).await;
LOCKOUT.store(false, core::sync::atomic::Ordering::SeqCst);
}