浏览代码

Followup to SDIO patch (#21440)

ldursw 4 年前
父节点
当前提交
69c6ffa90b
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      Marlin/src/feature/binary_stream.h

+ 1
- 1
Marlin/src/feature/binary_stream.h 查看文件

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

正在加载...
取消
保存