boardd: add debug flag for injecting SPI errors (#32346)

* pull out ll first

* errors

---------

Co-authored-by: Comma Device <device@comma.ai>
This commit is contained in:
Adeeb Shihadeh
2024-05-07 21:36:04 -07:00
committed by GitHub
parent 71832d651a
commit 2d838f95da
3 changed files with 32 additions and 5 deletions
+1 -1
View File
@@ -21,5 +21,5 @@ if __name__ == "__main__":
if len(ts[s]) > 2:
d = np.diff(ts[s])
print(f"{s:25} {np.mean(d):.2f} {np.std(d):.2f} {np.max(d):.2f} {np.min(d):.2f}")
print(f"{s:25} {np.mean(d):7.2f} {np.std(d):7.2f} {np.max(d):7.2f} {np.min(d):7.2f}")
time.sleep(1)