mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 05:43:34 +08:00
NuttX 10.3+ upgrade (#20190)
Co-authored-by: Peter van der Perk <peter.vanderperk@nxp.com> Co-authored-by: David Sidrane <David.Sidrane@NscDg.com> Co-authored-by: alexklimaj <alex@arkelectron.com>
This commit is contained in:
co-authored by
Peter van der Perk
David Sidrane
alexklimaj
parent
45b390b0bf
commit
2cb4ef0629
@@ -9,7 +9,7 @@
|
||||
|
||||
#if UAVCAN_KINETIS_NUTTX
|
||||
# include <nuttx/arch.h>
|
||||
# include "arm_arch.h"
|
||||
# include "arm_internal.h"
|
||||
# include <arch/board/board.h>
|
||||
# include <hardware/kinetis_pit.h>
|
||||
# include <hardware/kinetis_sim.h>
|
||||
|
||||
@@ -214,8 +214,8 @@ void UavcanServers::migrateFWFromRoot(const char *sd_path, const char *sd_root_p
|
||||
}
|
||||
}
|
||||
|
||||
if (dev_dirent != nullptr) {
|
||||
(void)closedir(dev_dirent);
|
||||
if (sd_root_dir != nullptr) {
|
||||
(void)closedir(sd_root_dir);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user