mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-15 16:10:35 +08:00
delete unused IOCTL SENSOR_POLLRATE_EXTERNAL
This commit is contained in:
committed by
Lorenz Meier
parent
3b92d49b64
commit
f59f0d4b2d
@@ -503,9 +503,6 @@ ACCELSIM::devIOCTL(unsigned long cmd, unsigned long arg)
|
||||
m_sample_interval_usecs = 0;
|
||||
return OK;
|
||||
|
||||
/* external signalling not supported */
|
||||
case SENSOR_POLLRATE_EXTERNAL:
|
||||
|
||||
/* zero would be bad */
|
||||
case 0:
|
||||
return -EINVAL;
|
||||
@@ -624,9 +621,6 @@ ACCELSIM::mag_ioctl(unsigned long cmd, unsigned long arg)
|
||||
_mag->m_sample_interval_usecs = 0;
|
||||
return OK;
|
||||
|
||||
/* external signalling not supported */
|
||||
case SENSOR_POLLRATE_EXTERNAL:
|
||||
|
||||
/* zero would be bad */
|
||||
case 0:
|
||||
return -EINVAL;
|
||||
|
||||
Reference in New Issue
Block a user