AP_HAL_ChibiOS: silence unused functions under sdcard.cpp

This commit is contained in:
bugobliterator 2022-11-16 06:12:58 +05:30 committed by Andrew Tridgell
parent c6631bce57
commit ee45deeda8

View File

@ -29,6 +29,7 @@
extern const AP_HAL::HAL& hal; extern const AP_HAL::HAL& hal;
#if HAL_HAVE_USB_CDC_MSD
static void block_filesys_access() static void block_filesys_access()
{ {
AP::FS().block_access(); AP::FS().block_access();
@ -38,6 +39,7 @@ static void free_filesys_access()
{ {
AP::FS().free_access(); AP::FS().free_access();
} }
#endif
#ifdef USE_POSIX #ifdef USE_POSIX
static FATFS SDC_FS; // FATFS object static FATFS SDC_FS; // FATFS object