mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 13:53:34 +08:00
L3GD20: Return argument in correct format
This commit is contained in:
@@ -667,7 +667,7 @@ L3GD20::ioctl(struct file *filp, int cmd, unsigned long arg)
|
||||
}
|
||||
|
||||
case GYROIOCGLOWPASS:
|
||||
return _gyro_filter_x.get_cutoff_freq();
|
||||
return static_cast<int>(_gyro_filter_x.get_cutoff_freq());
|
||||
|
||||
case GYROIOCSSCALE:
|
||||
/* copy scale in */
|
||||
|
||||
Reference in New Issue
Block a user