mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-24 04:29:34 +00:00
Followup to SDIO patch (#21440)
This commit is contained in:
parent
e989bf3b0e
commit
69c6ffa90b
@ -39,7 +39,7 @@ inline int bs_read_serial(const serial_index_t index) {
|
|||||||
|
|
||||||
#if ENABLED(BINARY_STREAM_COMPRESSION)
|
#if ENABLED(BINARY_STREAM_COMPRESSION)
|
||||||
static heatshrink_decoder hsd;
|
static heatshrink_decoder hsd;
|
||||||
#ifdef BOTH(ARDUINO_ARCH_STM32F1, SDIO_SUPPORT)
|
#if BOTH(ARDUINO_ARCH_STM32F1, SDIO_SUPPORT)
|
||||||
// STM32 requires a word-aligned buffer for SD card transfers via DMA
|
// STM32 requires a word-aligned buffer for SD card transfers via DMA
|
||||||
static __attribute__((aligned(sizeof(size_t)))) uint8_t decode_buffer[512] = {};
|
static __attribute__((aligned(sizeof(size_t)))) uint8_t decode_buffer[512] = {};
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user