Skip to content

Commit e12c7ff

Browse files
committed
Replaced sensitivity with threshold
1 parent 15daaec commit e12c7ff

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/DuetAPI/ObjectModel/Sensors/ProbeTouchMode.cs

+10-10
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,6 @@ public bool Active
1515
}
1616
private bool _active;
1717

18-
/// <summary>
19-
/// Sensitivity of the touch probe
20-
/// </summary>
21-
public float Sensitivity
22-
{
23-
get => _sensitivity;
24-
set => SetPropertyValue(ref _sensitivity, value);
25-
}
26-
private float _sensitivity;
27-
2818
/// <summary>
2919
/// Speed while probing in touch mode (in mm/s)
3020
/// </summary>
@@ -35,6 +25,16 @@ public float Speed
3525
}
3626
private float _speed;
3727

28+
/// <summary>
29+
/// Threshold value of the touch probe
30+
/// </summary>
31+
public float Threshold
32+
{
33+
get => _threshold;
34+
set => SetPropertyValue(ref _threshold, value);
35+
}
36+
private float _threshold;
37+
3838
/// <summary>
3939
/// Height of the trigger point of the touch probe (in mm)
4040
/// </summary>

0 commit comments

Comments
 (0)