diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/drivers/l3gd20/l3gd20.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/l3gd20/l3gd20.cpp b/src/drivers/l3gd20/l3gd20.cpp index ad01338b9..4c41491a8 100644 --- a/src/drivers/l3gd20/l3gd20.cpp +++ b/src/drivers/l3gd20/l3gd20.cpp @@ -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 */ |