improved code structure

This commit is contained in:
2026-05-20 17:44:22 +02:00
parent 7e8f3891c5
commit 8adc0b87f4
9 changed files with 167 additions and 106 deletions

18
Cargo.lock generated
View File

@@ -280,6 +280,8 @@ dependencies = [
"log",
"mipidsi",
"mmc56x3",
"portable-atomic",
"static_cell",
]
[[package]]
@@ -1055,9 +1057,12 @@ dependencies = [
[[package]]
name = "portable-atomic"
version = "1.13.0"
version = "1.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f89776e4d69bb58bc6993e99ffa1d11f228b839984854c7daeb5d37f87cbe950"
checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
dependencies = [
"critical-section",
]
[[package]]
name = "precomputed-hash"
@@ -1316,6 +1321,15 @@ version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596"
[[package]]
name = "static_cell"
version = "2.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0530892bb4fa575ee0da4b86f86c667132a94b74bb72160f58ee5a4afec74c23"
dependencies = [
"portable-atomic",
]
[[package]]
name = "string_cache"
version = "0.8.9"