Reverting unintended changes
This commit is contained in:
parent
92c84a6bfe
commit
9bc351109c
@ -83,7 +83,7 @@ pounder_v1_1 = [ ]
|
||||
[profile.dev]
|
||||
codegen-units = 1
|
||||
incremental = false
|
||||
opt-level = 1
|
||||
opt-level = 3
|
||||
|
||||
[profile.release]
|
||||
opt-level = 3
|
||||
|
@ -95,12 +95,7 @@ const APP: () = {
|
||||
stabilizer.net.mac_address,
|
||||
);
|
||||
|
||||
let generator = {
|
||||
use smoltcp_nal::embedded_nal::{IpAddr, Ipv4Addr, SocketAddr};
|
||||
let remote =
|
||||
SocketAddr::new(IpAddr::V4(Ipv4Addr::unspecified()), 0);
|
||||
network.enable_streaming(remote.into())
|
||||
};
|
||||
let generator = network.enable_streaming(StreamTarget::default().into());
|
||||
|
||||
// Spawn a settings update for default settings.
|
||||
c.spawn.settings_update().unwrap();
|
||||
@ -220,7 +215,7 @@ const APP: () = {
|
||||
c.spawn.settings_update().unwrap()
|
||||
}
|
||||
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 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 =
|
||||
hal::dma::dma::StreamsTuple::new(device.DMA1, ccdr.peripheral.DMA1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user