mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-25 00:30:50 +08:00
platforms/common/uORB: Separate IOCTLs going through boardctl interface from the original ones
It was a mistake to mix these two together, it is simpler to implement the boardctl interface for the protected build, if the boardctl ioctls are different Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
1 parent
f0d9f44f45
commit
6071b87afc
2 files changed
+16
-15
No files matched your search
@@ -57,7 +57,7 @@ bool uORB::Manager::initialize()
|
||||
}
|
||||
|
||||
#if defined(__PX4_NUTTX) && !defined(CONFIG_BUILD_FLAT) && defined(__KERNEL__)
|
||||
px4_register_boardct_ioctl(_ORBIOCBASE, orb_ioctl);
|
||||
px4_register_boardct_ioctl(_ORBIOCDEVBASE, orb_ioctl);
|
||||
#endif
|
||||
return _Instance != nullptr;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user