refactor: implement thread-safe hardware operations, port caching, and refined state management in the device controller

This commit is contained in:
jack
2026-07-02 22:33:44 -07:00
parent da43aeb1f6
commit 9e28a25695
7 changed files with 193 additions and 68 deletions
+5
View File
@@ -242,6 +242,11 @@ class TestRemoveTrailingZeros:
remove_trailing_zeros(data)
assert len(data) == 2
def test_preserves_negative_temperatures(self):
data = [["25.0", "24.5"], ["-5.5", "-10.0"]]
remove_trailing_zeros(data)
assert len(data) == 2
# ── save_to_csv ───────────────────────────────────────────────────────────────