Skip to content

Commit

Permalink
fix bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
GuoGeTiertime committed Nov 19, 2024
1 parent 31b759e commit a0bafce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion klippy/extras/hx71x.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def __init__(self, config):
# self._filter_prev_Values = 0.0

# 超过阈值判断,用于log数据,分析, 当总重量大于overload后,输出在log中.
self._OverLoad = self.getfloat('overload', 10000.0)
self._OverLoad = config.getfloat('overload', 10000.0)

#test weight sensor is ok or stepper motor is ok
self.test_min = config.getfloat('test_min', 100.0)
Expand Down

0 comments on commit a0bafce

Please sign in to comment.