forked from M-Labs/artiq-zynq
rustfmt
This commit is contained in:
parent
165b1400ab
commit
f1ee3a7584
|
@ -1,4 +1,5 @@
|
||||||
use core::cmp::min;
|
use core::cmp::min;
|
||||||
|
|
||||||
use libboard_artiq::{drtioaux_proto::ANALYZER_MAX_SIZE, pl::csr};
|
use libboard_artiq::{drtioaux_proto::ANALYZER_MAX_SIZE, pl::csr};
|
||||||
use libcortex_a9::cache;
|
use libcortex_a9::cache;
|
||||||
|
|
||||||
|
@ -35,7 +36,7 @@ pub struct Analyzer {
|
||||||
// necessary for keeping track of sent data
|
// necessary for keeping track of sent data
|
||||||
data_len: usize,
|
data_len: usize,
|
||||||
sent_bytes: usize,
|
sent_bytes: usize,
|
||||||
data_pointer: usize
|
data_pointer: usize,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct Header {
|
pub struct Header {
|
||||||
|
@ -62,7 +63,7 @@ impl Analyzer {
|
||||||
Analyzer {
|
Analyzer {
|
||||||
data_len: 0,
|
data_len: 0,
|
||||||
sent_bytes: 0,
|
sent_bytes: 0,
|
||||||
data_pointer: 0
|
data_pointer: 0,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue