Skip to content

Commit

Permalink
namespace fix C# + opti update
Browse files Browse the repository at this point in the history
  • Loading branch information
wiiznokes committed Nov 16, 2023
1 parent 3e43387 commit 47e6784
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion data/src/update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ impl Update {
let Some(node) = nodes.get_mut(node_id) else {
return Err(UpdateError::NodeNotFound);
};
updated.insert(node.id);

if !node.node_type.is_valid() {
node.value = None;
Expand Down Expand Up @@ -93,7 +94,6 @@ impl Update {
};

node.update(&input_values, bridge)?;
updated.insert(node.id);

Ok(node.value)
}
Expand Down
1 change: 0 additions & 1 deletion hardware/LibreHardwareMonitorWrapper/HardwareManager.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Text;
using System.Text.Json;
using System.Text.Json.Serialization;
using LibreHardwareMonitorWrapper.Hardware;
using LibreHardwareMonitorWrapper.Lhm;

namespace LibreHardwareMonitorWrapper;
Expand Down
2 changes: 1 addition & 1 deletion hardware/LibreHardwareMonitorWrapper/Lhm/Control.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using LibreHardwareMonitor.Hardware;

namespace LibreHardwareMonitorWrapper.Hardware;
namespace LibreHardwareMonitorWrapper.Lhm;

public class Control : BaseHardware
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using LibreHardwareMonitor.Hardware;
using LibreHardwareMonitorWrapper.Hardware;

namespace LibreHardwareMonitorWrapper.Lhm;

Expand Down

0 comments on commit 47e6784

Please sign in to comment.