default to k_p=1 on boot
This commit is contained in:
parent
af0c9a4903
commit
bf65b5f14a
|
@ -100,7 +100,7 @@ const APP: () = {
|
||||||
ethernet_periph: (pac::ETHERNET_MAC, pac::ETHERNET_DMA, pac::ETHERNET_MTL),
|
ethernet_periph: (pac::ETHERNET_MAC, pac::ETHERNET_DMA, pac::ETHERNET_MTL),
|
||||||
#[init([[0.; 5]; 2])]
|
#[init([[0.; 5]; 2])]
|
||||||
iir_state: [IIRState; 2],
|
iir_state: [IIRState; 2],
|
||||||
#[init([IIR { ba: [0., 0., 0., 0., 0.], y_offset: 0., y_min: -SCALE - 1., y_max: SCALE }; 2])]
|
#[init([IIR { ba: [1., 0., 0., 0., 0.], y_offset: 0., y_min: -SCALE - 1., y_max: SCALE }; 2])]
|
||||||
iir_ch: [IIR; 2],
|
iir_ch: [IIR; 2],
|
||||||
#[link_section = ".sram3.eth"]
|
#[link_section = ".sram3.eth"]
|
||||||
#[init(eth::Device::new())]
|
#[init(eth::Device::new())]
|
||||||
|
|
Loading…
Reference in New Issue