mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-07 01:01:54 +08:00
HMC driver: Device ID should come from the main instance, not the interface
This commit is contained in:
@@ -762,9 +762,6 @@ HMC5883::ioctl(struct file *filp, int cmd, unsigned long arg)
|
||||
case MAGIOCSTEMPCOMP:
|
||||
return set_temperature_compensation(arg);
|
||||
|
||||
case DEVIOCGDEVICEID:
|
||||
return _interface->ioctl(cmd, dummy);
|
||||
|
||||
default:
|
||||
/* give it to the superclass */
|
||||
return CDev::ioctl(filp, cmd, arg);
|
||||
|
||||
Reference in New Issue
Block a user