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:
Jukka Laitinen
2022-02-15 11:04:23 +02:00
committed by Beat Küng
parent f0d9f44f45
commit 6071b87afc
2 changed files with 16 additions and 15 deletions
+1 -1
View File
@@ -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;
}