AP_Filesystem: allow for filesystem with no dtype

This commit is contained in:
Andrew Tridgell 2024-07-10 11:58:42 +10:00 committed by Peter Barker
parent 64ed86a82e
commit 75ebf96adb
1 changed files with 4 additions and 0 deletions

View File

@ -53,3 +53,7 @@
#ifndef AP_FILESYSTEM_SYS_FLASH_ENABLED
#define AP_FILESYSTEM_SYS_FLASH_ENABLED CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS
#endif
#ifndef AP_FILESYSTEM_HAVE_DIRENT_DTYPE
#define AP_FILESYSTEM_HAVE_DIRENT_DTYPE 1
#endif