Skip to content

Commit 0316ddb

Browse files
authored
fix variable name that leads to wrong diagnosticle name for CPU and M… (#613)
2 parents 7edd529 + e0fb9c2 commit 0316ddb

File tree

1 file changed

+1
-1
lines changed
  • bitbots_misc/system_monitor/system_monitor

1 file changed

+1
-1
lines changed

bitbots_misc/system_monitor/system_monitor/monitor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def main():
2525
diag_cpu.hardware_id = "CPU"
2626
diag_mem = DiagnosticStatus()
2727
diag_mem.name = "SYSTEMMemory"
28-
diag_cpu.hardware_id = "Memory"
28+
diag_mem.hardware_id = "Memory"
2929

3030
node.declare_parameter("update_frequency", 10.0)
3131
node.declare_parameter("do_memory", True)

0 commit comments

Comments
 (0)