mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
module: remove NuttX only quirk
The behaviour on NuttX and Posix should now be the same anyway.
This commit is contained in:
@@ -169,11 +169,9 @@ public:
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
#ifdef __PX4_NUTTX
|
||||
// On NuttX task_create() adds the task name as first argument.
|
||||
// We don't need the task name at this point.
|
||||
argc -= 1;
|
||||
argv += 1;
|
||||
#endif
|
||||
|
||||
T *object = T::instantiate(argc, argv);
|
||||
_object.store(object);
|
||||
|
||||
Reference in New Issue
Block a user