Skip to content

Commit 825cf3d

Browse files
committed
fix the error in the Threshold example
1 parent e0dff5e commit 825cf3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/VL53L8CX_ThresholdDetection/VL53L8CX_ThresholdDetection.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ void setup()
112112
status = sensor_VL53L8CX_top.init();
113113

114114
// Disable thresholds detection.
115-
status = set_detection_thresholds_enable(0U);
115+
status = sensor_VL53L8CX_top.set_detection_thresholds_enable(0U);
116116

117117
// Set all values to 0.
118118
memset(&thresholds, 0, sizeof(thresholds));

0 commit comments

Comments
 (0)