Skip to content

Commit

Permalink
tm-device: Option toggle order is {min, max, step, default}
Browse files Browse the repository at this point in the history
  • Loading branch information
bfulkers-i authored and radfordi committed Dec 9, 2019
1 parent e552003 commit 3b3c64c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tm2/tm-device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ namespace librealsense
bool is_read_only() const override { return s._is_streaming; }

explicit tracking_mode_option(tm2_sensor& sensor, const char *description_) :
s(sensor), description(description_), option_base(option_range{ 0, 1, !!(sensor._tm_mode & flag) ^ invert ? 1.f : 0.f, 1 }) { }
s(sensor), description(description_), option_base(option_range{ 0, 1, 1, !!(sensor._tm_mode & flag) ^ invert ? 1.f : 0.f }) { }

private:
tm2_sensor &s;
Expand Down

0 comments on commit 3b3c64c

Please sign in to comment.