mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 15:53:56 -04:00
HAL_ChibiOS: use 4k bouncebuffer for sdcard
match AP_Logger IO size
This commit is contained in:
parent
2b7bffa906
commit
a220b37bf8
@ -56,7 +56,9 @@ bool sdcard_init()
|
||||
#if HAL_USE_SDC
|
||||
|
||||
if (SDCD1.bouncebuffer == nullptr) {
|
||||
bouncebuffer_init(&SDCD1.bouncebuffer, 512, true);
|
||||
// allocate 4k bouncebuffer for microSD to match size in
|
||||
// AP_Logger
|
||||
bouncebuffer_init(&SDCD1.bouncebuffer, 4096, true);
|
||||
}
|
||||
|
||||
if (sdcard_running) {
|
||||
|
Loading…
Reference in New Issue
Block a user