Skip to content

Commit 98d2ced

Browse files
committed
fix typo
1 parent ab99786 commit 98d2ced

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sensor_tof_matrix.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ class SensorTofMatrix{
248248

249249
int get_min_range_center_mm() {
250250

251-
int16_t _min = results.distance_mm[(_size==4?6:19];
251+
int16_t _min = results.distance_mm[_size==4?6:19];
252252

253253
for (int i=(_size==4?6:19); i < (_size==4?13:51) ;i+=_size) {
254254
_min = min(_min, results.distance_mm[i]);

0 commit comments

Comments
 (0)