Skip to content

Commit

Permalink
fix default value and add comment in set_report function
Browse files Browse the repository at this point in the history
  • Loading branch information
noacoohen committed Apr 18, 2024
1 parent ec63cb4 commit 14fb874
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hid/hid-device.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ namespace librealsense
void handle_interrupt();
rs_usb_endpoint get_hid_endpoint();
rs_usb_interface get_hid_interface();
usb_status set_feature_report( unsigned char power, int report_id, int fps = 0, double sensitivity = 1 );
//for gyro sensitivty the default value we set in feature report is 0.1
usb_status set_feature_report( unsigned char power, int report_id, int fps = 0, double sensitivity = 0.1 );
#ifdef __APPLE__
int hidapi_PowerDevice(unsigned char reportId);
#endif
Expand Down

0 comments on commit 14fb874

Please sign in to comment.