mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_ChibiOS: only change SD card on external flash boards
This commit is contained in:
parent
10d99a52eb
commit
89ba955419
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue