Reverting unintended changes
This commit is contained in:
parent
92c84a6bfe
commit
9bc351109c
@ -83,7 +83,7 @@ pounder_v1_1 = [ ]
|
|||||||
[profile.dev]
|
[profile.dev]
|
||||||
codegen-units = 1
|
codegen-units = 1
|
||||||
incremental = false
|
incremental = false
|
||||||
opt-level = 1
|
opt-level = 3
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
|
@ -95,12 +95,7 @@ const APP: () = {
|
|||||||
stabilizer.net.mac_address,
|
stabilizer.net.mac_address,
|
||||||
);
|
);
|
||||||
|
|
||||||
let generator = {
|
let generator = network.enable_streaming(StreamTarget::default().into());
|
||||||
use smoltcp_nal::embedded_nal::{IpAddr, Ipv4Addr, SocketAddr};
|
|
||||||
let remote =
|
|
||||||
SocketAddr::new(IpAddr::V4(Ipv4Addr::unspecified()), 0);
|
|
||||||
network.enable_streaming(remote.into())
|
|
||||||
};
|
|
||||||
|
|
||||||
// Spawn a settings update for default settings.
|
// Spawn a settings update for default settings.
|
||||||
c.spawn.settings_update().unwrap();
|
c.spawn.settings_update().unwrap();
|
||||||
@ -220,7 +215,7 @@ const APP: () = {
|
|||||||
c.spawn.settings_update().unwrap()
|
c.spawn.settings_update().unwrap()
|
||||||
}
|
}
|
||||||
NetworkState::Updated => {}
|
NetworkState::Updated => {}
|
||||||
NetworkState::NoChange => {}
|
NetworkState::NoChange => cortex_m::asm::wfi(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -258,11 +258,6 @@ pub fn setup(
|
|||||||
let gpiof = device.GPIOF.split(ccdr.peripheral.GPIOF);
|
let gpiof = device.GPIOF.split(ccdr.peripheral.GPIOF);
|
||||||
let mut gpiog = device.GPIOG.split(ccdr.peripheral.GPIOG);
|
let mut gpiog = device.GPIOG.split(ccdr.peripheral.GPIOG);
|
||||||
|
|
||||||
let _uart_tx = gpiod
|
|
||||||
.pd8
|
|
||||||
.into_push_pull_output()
|
|
||||||
.set_speed(hal::gpio::Speed::VeryHigh);
|
|
||||||
|
|
||||||
let dma_streams =
|
let dma_streams =
|
||||||
hal::dma::dma::StreamsTuple::new(device.DMA1, ccdr.peripheral.DMA1);
|
hal::dma::dma::StreamsTuple::new(device.DMA1, ccdr.peripheral.DMA1);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user