mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-23 00:58:37 -04:00
AP_HAL_ChibiOS: silence unused functions under sdcard.cpp
This commit is contained in:
parent
c6631bce57
commit
ee45deeda8
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user