mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 23:43:34 +08:00
QuRT: satisfy missing deps
There is no ioctl or write. Added stubs. Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -108,6 +108,10 @@ I2C::init()
|
||||
return PX4_ERROR;
|
||||
}
|
||||
|
||||
#ifdef __PX4_QURT
|
||||
simulate = true;
|
||||
#endif
|
||||
|
||||
if (simulate) {
|
||||
_fd = 10000;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user