|
@@ -39,7 +39,7 @@ inline int bs_read_serial(const serial_index_t index) {
|
39
|
39
|
|
40
|
40
|
#if ENABLED(BINARY_STREAM_COMPRESSION)
|
41
|
41
|
static heatshrink_decoder hsd;
|
42
|
|
- #ifdef BOTH(ARDUINO_ARCH_STM32F1, SDIO_SUPPORT)
|
|
42
|
+ #if BOTH(ARDUINO_ARCH_STM32F1, SDIO_SUPPORT)
|
43
|
43
|
// STM32 requires a word-aligned buffer for SD card transfers via DMA
|
44
|
44
|
static __attribute__((aligned(sizeof(size_t)))) uint8_t decode_buffer[512] = {};
|
45
|
45
|
#else
|