mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 07:23:34 +08:00
Add STM32 watchdog configuration
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4617 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -474,10 +474,10 @@ int tiff_initialize(FAR struct tiff_info_s *info)
|
||||
goto errout;
|
||||
}
|
||||
|
||||
info->tmp2fd = open(info->tmpfile1, O_RDWR|O_CREAT|O_TRUNC, 0666);
|
||||
info->tmp2fd = open(info->tmpfile2, O_RDWR|O_CREAT|O_TRUNC, 0666);
|
||||
if (info->tmp2fd < 0)
|
||||
{
|
||||
gdbg("Failed to open %s for reading/writing: %d\n", info->tmpfile1, errno);
|
||||
gdbg("Failed to open %s for reading/writing: %d\n", info->tmpfile2, errno);
|
||||
goto errout;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user