AP_HAL_ChibiOS: only change SD card on external flash boards

This commit is contained in:
Andy Piper 2022-02-09 07:27:36 +00:00 committed by Peter Hall
parent 10d99a52eb
commit 89ba955419
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@
// compact and minimise the number of erase cycles needed // compact and minimise the number of erase cycles needed
#ifdef STORAGE_FLASH_PAGE #ifdef STORAGE_FLASH_PAGE
#define CH_STORAGE_LINE_SHIFT 3 #define CH_STORAGE_LINE_SHIFT 3
#elif defined(USE_POSIX) #elif defined(USE_POSIX) && !defined(HAL_WITH_RAMTRON)
#define CH_STORAGE_LINE_SHIFT 9 #define CH_STORAGE_LINE_SHIFT 9
#else #else
#define CH_STORAGE_LINE_SHIFT 3 #define CH_STORAGE_LINE_SHIFT 3