Merge remote-tracking branch 'origin/main'

This commit is contained in:
Jacob Weaver
2024-12-17 11:02:53 -06:00
17 changed files with 352 additions and 243 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ edition = "2021"
path = "src/hs.rs"
[features]
default = ["rp2040"]
default = []
std = ["dep:sysinfo"]
nix = ["dep:watchdog-device"]
rp2040 = ["dep:rp2040-hal", "dep:rp2040-pac"]
+3
View File
@@ -72,6 +72,7 @@ impl App for Hs<'_> {
}
fn run(&mut self, rfe: &mut Rfe) {
self.data.hk.perf.enter(rfe);
self.data.out_data.counter += 1;
while let Some(msg) = rfe.recv() {
match msg.msg {
@@ -121,6 +122,8 @@ impl App for Hs<'_> {
if self.config.temp_checks {
self.data.hk.temps = self.grabber.check_temps();
}
self.data.hk.perf.exit(rfe);
}
fn hk(&mut self, rfe: &mut Rfe) {