fix runs index length that was not pulled in after gateware optimization

This commit is contained in:
bunnie 2021-08-30 00:30:44 +08:00
parent c8b15a3c81
commit c2afa2b09f

View file

@ -34,7 +34,7 @@ impl<'a> ShellCmdApi<'a> for TrngCmd {
let ht = env.trng.get_health_tests().unwrap();
for core in 0..4 {
write!(ret, "RO {}: ", core).unwrap();
for bin in 0..5 {
for bin in 0..4 {
write!(ret, "{} ", ht.ro_miniruns[core].run_count[bin]).unwrap();
}
write!(ret, "\n").unwrap();