mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Master uavcan mainline (#6313)
* Update libuavcan to upstream master with PX4 contrib for NuttX 7.16+ * Release any 64B blocks not needed by usavcan after FW server is stopped. We simply call the srrink methode after the server stop. See https://github.com/PX4/Firmware/pull/3005#issue-111885687 for backgound
This commit is contained in:
parent
0d3fd77ba9
commit
79d682e740
@ -1 +1 @@
|
||||
Subproject commit ed47da5b2af550fd353680c3a9c03b774d0017fd
|
||||
Subproject commit dcbb573972f80343ee68eed743506ac09605de3b
|
||||
@ -1458,11 +1458,13 @@ int uavcan_main(int argc, char *argv[])
|
||||
|
||||
int rv = inst->fw_server(UavcanNode::Stop);
|
||||
|
||||
/* Let's recover any memory we can */
|
||||
|
||||
inst->shrink();
|
||||
if (rv < 0) {
|
||||
warnx("Firmware Server Failed to Stop %d", rv);
|
||||
::exit(rv);
|
||||
}
|
||||
|
||||
::exit(0);
|
||||
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user