switched to a dedicated AP
This commit is contained in:
parent
357437b36c
commit
9fdd219fb8
2 changed files with 16 additions and 6 deletions
|
|
@ -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,
|
||||
});
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue