mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
qurt px4_layer fix style
This commit is contained in:
@@ -149,7 +149,7 @@ px4_task_t px4_task_spawn_cmd(const char *name, int scheduler, int priority, int
|
|||||||
taskdata = (pthdata_t *)malloc(structsize + len);
|
taskdata = (pthdata_t *)malloc(structsize + len);
|
||||||
|
|
||||||
if (taskdata == nullptr) {
|
if (taskdata == nullptr) {
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
}
|
||||||
|
|
||||||
offset = ((unsigned long)taskdata) + structsize;
|
offset = ((unsigned long)taskdata) + structsize;
|
||||||
|
|||||||
Reference in New Issue
Block a user