forked from M-Labs/zynq-rs
Compare commits
No commits in common. "56c27e98e4fc2bd719d26abaa98a7628c395b9c0" and "master" have entirely different histories.
56c27e98e4
...
master
@ -16,4 +16,3 @@ target_coraz7 = []
|
|||||||
target_redpitaya = []
|
target_redpitaya = []
|
||||||
target_kasli_soc = []
|
target_kasli_soc = []
|
||||||
ipv6 = []
|
ipv6 = []
|
||||||
fat_lfn = [ "fatfs/alloc" ]
|
|
@ -164,8 +164,7 @@ impl Config {
|
|||||||
f.seek(SeekFrom::End(0))?;
|
f.seek(SeekFrom::End(0))?;
|
||||||
write!(f, "{}={}\n", key, String::from_utf8(value).unwrap())?;
|
write!(f, "{}={}\n", key, String::from_utf8(value).unwrap())?;
|
||||||
} else {
|
} else {
|
||||||
let dir = root_dir.create_dir("/CONFIG")?;
|
let mut f = root_dir.create_file(&["/CONFIG/", key, ".BIN"].concat())?;
|
||||||
let mut f = dir.create_file(&[key, ".BIN"].concat())?;
|
|
||||||
f.write_all(&value)?;
|
f.write_all(&value)?;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user