mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 23:51:36 +08:00
more px4fmu-v1 cleanup (#7981)
This commit is contained in:
@@ -3066,14 +3066,6 @@ get_interface()
|
||||
goto got;
|
||||
}
|
||||
|
||||
#ifdef PX4_I2C_OBDEV_PX4IO
|
||||
interface = PX4IO_i2c_interface();
|
||||
#endif
|
||||
|
||||
if (interface != nullptr) {
|
||||
goto got;
|
||||
}
|
||||
|
||||
errx(1, "cannot alloc interface");
|
||||
|
||||
got:
|
||||
|
||||
Reference in New Issue
Block a user