Fixed example

pull/7/head
ko1N 4 years ago
parent bace27d6af
commit 3fe7b2f9ec

@ -29,7 +29,7 @@ fn main() {
let start = Instant::now(); let start = Instant::now();
let mut counter = 0; let mut counter = 0;
for _ in 0..10000 { loop {
let mut buf = vec![0; 0x1000]; let mut buf = vec![0; 0x1000];
conn.phys_read_raw_into(Address::from(0x1000).into(), &mut buf) conn.phys_read_raw_into(Address::from(0x1000).into(), &mut buf)
.unwrap(); .unwrap();

Loading…
Cancel
Save